First working version of babel

This commit is contained in:
Tyler Long
2017-04-17 22:34:25 +08:00
parent 4032824c79
commit 5d68359eb6
11 changed files with 22 additions and 18 deletions

View File

@@ -347,8 +347,7 @@ var parser = (function () {
vstack.length = vstack.length - n
lstack.length = lstack.length - n
}
_token_stack:
var lex = function () {
var lex = function () {
var token
token = lexer.lex() || EOF
if (typeof token !== 'number') {