Fix const arguments grammar

This commit is contained in:
Aleksey Kladov 2020-07-31 18:46:07 +02:00
parent 040b4c800d
commit ddf08daddf
4 changed files with 264 additions and 264 deletions

View file

@ -52,7 +52,7 @@ fn type_arg(p: &mut Parser) {
m.complete(p, CONST_ARG);
}
k if k.is_literal() => {
p.bump(k);
expressions::literal(p);
m.complete(p, CONST_ARG);
}
_ => {