ChrisDodd / btyacc

Backtracking yacc
17 stars 5 forks source link

tests/t3.y fix typo on input #19

Closed zosrothko closed 7 years ago

ChrisDodd commented 8 years ago

Not really a typo -- checks that decimal constants beginning with 0 are actually recognized as such, rather than trying to parse them as octal constants (octal constants begin with 0 and only contain the digits 0-7). Could probably be done better, and a few more test cases would be useful.