diff options
| author | Jim Fehrle | 2019-11-08 11:35:16 -0800 |
|---|---|---|
| committer | Jim Fehrle | 2019-11-14 10:56:28 -0800 |
| commit | cf8bad54a5cb2173014a217b3a85382269fef85c (patch) | |
| tree | 8382fa3fa1a088fd6a645b0bad45d6d27e4630a3 /parsing | |
| parent | 64ddd9ac0c34e560a0640297e2e23b6aaf074810 (diff) | |
Rename non-unique local nonterminals
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/g_constr.mlg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parsing/g_constr.mlg b/parsing/g_constr.mlg index 470782a7dc..66b0790e2c 100644 --- a/parsing/g_constr.mlg +++ b/parsing/g_constr.mlg @@ -244,17 +244,17 @@ GRAMMAR EXTEND Gram ] ] ; record_declaration: - [ [ fs = record_fields -> { CAst.make ~loc @@ CRecord fs } ] ] + [ [ fs = record_fields_instance -> { CAst.make ~loc @@ CRecord fs } ] ] ; - record_fields: - [ [ f = record_field_declaration; ";"; fs = record_fields -> { f :: fs } - | f = record_field_declaration -> { [f] } + record_fields_instance: + [ [ f = record_field_instance; ";"; fs = record_fields_instance -> { f :: fs } + | f = record_field_instance -> { [f] } | -> { [] } ] ] ; - record_field_declaration: + record_field_instance: [ [ id = global; bl = binders; ":="; c = lconstr -> { (id, mkLambdaCN ~loc bl c) } ] ] ; |
