GerHobbelt / jison

bison / YACC / LEX in JavaScript (LALR(1), SLR(1), etc. lexer/parser generator)
https://gerhobbelt.github.io/jison/
MIT License
118 stars 20 forks source link

TypeError: yylexer.mergeLocationInfo is not a function #64

Open khmseu opened 2 years ago

khmseu commented 2 years ago

Command was "mkgrammar": "../../nodemodules/.bin/jison -o asn1p -E asn1p_y.jison asn1p_l.jisonlex" Version is v0.4.15-113-1680-g396e9250

Looking through the sources, I see this is called all over the place, but I don't see a definition

khmseu commented 2 years ago

I need to ad a correction. Actually I got the error with version jison-gho@0.6.1-216 - I was confused because I had checked out the repository right next to the version I used. However, my comment about missing a definition applies to that version, as well.