diff --git a/lib/parse.js b/lib/parse.js index e63fb2e0..27d06893 100644 --- a/lib/parse.js +++ b/lib/parse.js @@ -1082,7 +1082,7 @@ Cola.Parser.prototype.statement = Cola.Parser.embed_tokens(function() { end : this.prev() })); } else - if (this.S.token.value != "asmjs" && this.S.token.value != "strict") this.unexpected(); + if (this.S.token.value != "asm" && this.S.token.value != "strict") this.unexpected(); } else this.unexpected(); return args; diff --git a/package.json b/package.json index 6fc3b8ad..fe3f67c6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "ColaScript translator / parser / mangler / compressor / beautifier toolkit", "homepage": "https://github.com/TrigenSoftware/ColaScript", "main": "tools/node.js", - "version": "0.5.6", + "version": "0.5.7", "engines": { "node" : ">=0.4.0" }, "maintainers": [{ "name": "Dan Onoshko (dangreen)",