Closed oliverpierson closed 9 years ago
I think the issue is with bison and in particular expression
yychar != YYEOF
in src/repl/reader.ypp
The seg fault was happening in bison. When yylex()
was return 0
to indicate EOF
bison wasn't updating yychar
to be YYEOF
. So the reader loop tried to parse again on input even after input had ended.
This was happening on a vagrant machine with Bison 3.0. Installing Bison 2.3 (as is installed on my macbook) fixed the problem.
On Ubuntu Trusty64, executed immediately after startup:
All the tests seem to pass.