You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$./node dist/cli-cjs-es5.js gram.y.naked
dist/cli-cjs-es5.js:19824
throw err;
^
JisonParserError:
You cannot specify a precedence override for an epsilon (a.k.a. empty) rule!
Erroneous area:
at Object.parseError (dist/cli-cjs-es5.js:14994:19)
at Object.yyError (dist/cli-cjs-es5.js:15133:29)
at Object.parser__PerformAction (dist/cli-cjs-es5.js:14637:34)
at Object.parse (dist/cli-cjs-es5.js:16127:48)
at Object.parse (dist/cli-cjs-es5.js:18717:23)
at autodetectAndConvertToJSONformat (dist/cli-cjs-es5.js:19799:36)
at new Jison_Generator (dist/cli-cjs-es5.js:25327:15)
at Object.generateParserString (dist/cli-cjs-es5.js:25836:25)
at processInputFile (dist/cli-cjs-es5.js:25751:30)
at Object.cliMain [as main] (dist/cli-cjs-es5.js:25829:13)
The text was updated successfully, but these errors were encountered:
I'm testing
jison
with a naked postgresql-13.3 grammar generated by a modifedbison
(see https://github.com/mingodad/lalr-parser-test) the naked grammar is parsed properly bybison
andbyacc
see attached grammargram.y.naked.zip
The output:
The text was updated successfully, but these errors were encountered: