parser reports syntax error accurately

still need improvement
This commit is contained in:
Valk Richard Li
2021-05-04 01:13:53 +08:00
parent 2405bada81
commit 6651fccbe8
7 changed files with 132 additions and 122 deletions
+1
View File
@@ -68,6 +68,7 @@ scalar::=
|hash {call_scalar}
|number
|string
|nil
|'(' calculation ')' {call_scalar}
;
call_scalar::=