diff options
| author | Hugo Herbelin | 2020-09-27 10:48:29 +0200 |
|---|---|---|
| committer | Hugo Herbelin | 2020-10-10 22:13:59 +0200 |
| commit | b7c9ba2c678228593450ecdf272ff71facbc6a6e (patch) | |
| tree | c652e8bd90a7281089ce5c9686892220ddf9ca6d /parsing | |
| parent | 2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 (diff) | |
Add location in existential variable names (CEvar/GEvar).
Diffstat (limited to 'parsing')
| -rw-r--r-- | parsing/g_constr.mlg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/g_constr.mlg b/parsing/g_constr.mlg index df2de3333d..931ffccb27 100644 --- a/parsing/g_constr.mlg +++ b/parsing/g_constr.mlg @@ -263,7 +263,7 @@ GRAMMAR EXTEND Gram | "_" -> { CAst.make ~loc @@ CHole (None, IntroAnonymous, None) } | "?"; "["; id = identref; "]" -> { CAst.make ~loc @@ CHole (None, IntroIdentifier id.CAst.v, None) } | "?"; "["; id = pattern_ident; "]" -> { CAst.make ~loc @@ CHole (None, IntroFresh id, None) } - | id = pattern_ident; inst = evar_instance -> { CAst.make ~loc @@ CEvar(id,inst) } ] ] + | id = pattern_identref; inst = evar_instance -> { CAst.make ~loc @@ CEvar(id,inst) } ] ] ; inst: [ [ id = identref; ":="; c = lconstr -> { (id,c) } ] ] |
