A const can be a const from another module
This commit is contained in:
parent
0e7d9ead1f
commit
650bbb1c93
|
@ -503,6 +503,8 @@ _const:
|
||||||
| FLOAT { Sfloat $1 }
|
| FLOAT { Sfloat $1 }
|
||||||
| BOOL { Sbool $1 }
|
| BOOL { Sbool $1 }
|
||||||
| constructor { Sconstructor $1 }
|
| constructor { Sconstructor $1 }
|
||||||
|
| Constructor DOT ident
|
||||||
|
{ Svar (Modname({qual = $1; id = $3})) }
|
||||||
;
|
;
|
||||||
|
|
||||||
tuple_exp:
|
tuple_exp:
|
||||||
|
|
Loading…
Reference in a new issue