lenilsondc / vbspretty

VBScript parser and beautifier as a node module
MIT License
5 stars 2 forks source link

"fix" VBSCRIPT_FUNCTION not parsed correctly in vbsparser.js #4

Open PYUDNG opened 9 months ago

PYUDNG commented 9 months ago

This is something about vbsparser.js. While parsing vbs code that uses fix(), the output object.tokenTypes says it's an 'UNKNOWN' word. Dive into vbsparser.js line 111, there is a property "int, fix" of tokenTable, which might caused this problem. I haven't tested, but int() should be unable to be parsed as well.