ChrisDodd / btyacc

Backtracking yacc
17 stars 5 forks source link

Avoid crash when an input pops up an Action error at the first token #17

Closed zosrothko closed 8 years ago

zosrothko commented 8 years ago

Hi

This PR fixes the initialisation of yym & yyn to 0 to avoid a crash when an input pops up an Action error at the first token.