lark-parser / Lark.js

Live port of Lark's standalone parser to Javascript
MIT License
71 stars 12 forks source link

change const to let and dont overwrite javascript's Symbol #6

Closed ShawSumma closed 3 years ago

ShawSumma commented 3 years ago

this pull changes two things. it changes one const that is mutated to a let and removes said let. changes Symbol's name to GrammarSymbol in order to stop overwrites to global.Symbol or window.Symbol thanks!

erezsh commented 3 years ago

Thanks!