Skip to content
Snippets Groups Projects
Commit b78a003e authored by Patrick Baudin's avatar Patrick Baudin
Browse files

Merge branch 'bugfix/patrick/acsl-importer-grammar' into 'master'

[ACSL] grammar extension for ACSL-importer

See merge request frama-c/frama-c!2225
parents 10612471 f277c11a
No related branches found
No related tags found
No related merge requests found
......@@ -921,12 +921,12 @@ ext_global_clause:
| INCLUDE string SEMICOLON { let b,s = $2 in Ext_include(b,s, loc()) }
;
ext_global_specs_opt:
ext_global_specs_opt:
| /* empty */ { [] }
| ext_global_specs { $1 }
;
ext_global_specs:
ext_global_specs:
| ext_global_spec { [$1] }
| ext_global_spec ext_global_specs { $1::$2 }
;
......@@ -934,8 +934,8 @@ ext_global_specs:
ext_global_spec:
| ext_module_markup ext_global_clauses_opt ext_module_specs
{ (Some $1),$2,$3 }
| ext_module_markup
{ (Some $1),[],[] }
| ext_module_markup ext_global_clauses_opt
{ (Some $1),$2,[] }
;
ext_module_specs_opt:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment