Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4f98f46f authored by David Hauzar's avatar David Hauzar
Browse files

Merge branch 'counter-examples' of...

Merge branch 'counter-examples' of git+ssh://scm.gforge.inria.fr//gitroot/why3/why3 into counter-examples
parents 7db57db6 9f3d1f66
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ rule token = parse ...@@ -13,6 +13,7 @@ rule token = parse
{ token lexbuf } { token lexbuf }
| space+ as space_str | space+ as space_str
{ SPACE (space_str) } { SPACE (space_str) }
| "mk_t__ref"(num*) { MK_T_REF }
| "store" { STORE } | "store" { STORE }
| "const" { CONST } | "const" { CONST }
| "as" { AS } | "as" { AS }
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
%token <string * string> DEC_STR %token <string * string> DEC_STR
%token <string * string> MINUS_DEC_STR %token <string * string> MINUS_DEC_STR
%token LPAREN RPAREN %token LPAREN RPAREN
%token MK_T_REF
%token EOF %token EOF
%% %%
...@@ -53,6 +54,7 @@ text_without_int: ...@@ -53,6 +54,7 @@ text_without_int:
| AS { "as" } | AS { "as" }
value: value:
| LPAREN MK_T_REF SPACE value RPAREN { $4 }
| integer { $1 } | integer { $1 }
| decimal { $1 } | decimal { $1 }
| other_val_str { Model_parser.Unparsed $1 } | other_val_str { Model_parser.Unparsed $1 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment