Comparing version 0.0.3 to 0.0.4
@@ -49,3 +49,4 @@ var Generator = require('generate-js'), | ||
if (!parseFuncs) { | ||
throw 'Mode not found: ' + JSON.stringify(mode) + '.'; | ||
throw new Error('Mode not found: ' + JSON.stringify( | ||
mode) + '.'); | ||
} | ||
@@ -52,0 +53,0 @@ |
@@ -48,3 +48,3 @@ var Generator = require('generate-js'), | ||
if (_.closed) { | ||
throw 'Cannot call close on a closed token.'; | ||
throw new Error('Cannot call close on a closed token.'); | ||
} | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "compileit", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "A simple parse cycle compiler.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
17335
501