Commit bb59a835 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Change the precedence of ``!'' operator to be lower than ``.''

parent 1ad2b561
......@@ -403,7 +403,7 @@ EXTEND Gram
let s = U.mk s in
exp _loc (String (U.start_index s, U.end_index s, s, cst_nil))
| a = IDENT -> exp _loc (Var (ident a))
| "!"; e = expr -> exp _loc (get_ref e)
| "!"; e = expr LEVEL "no_appl" -> exp _loc (get_ref e)
| i = INT -> exp _loc (Integer (Intervals.V.mk i))
| f = FLOAT -> (* TODO : add a direct representation of floats in the AST ? *)
let e1 = (Var (ident "float_of")) in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment