ftomassetti / LangSandbox

Project to illustrate how to build a programming language
Apache License 2.0
694 stars 90 forks source link

use VOCABULARY instead of ruleNames in lexer test #3

Closed AlexP11223 closed 7 years ago

AlexP11223 commented 7 years ago

Probably should use VOCABULARY instead of ruleNames in lexer test because it may not work in some cases (wrong name order). I tried it with another language grammar in my project and only VOCABULARY worked correctly.

ftomassetti commented 7 years ago

Right, thanks for fixing this one!