Merge pull request #667 from emily-c/parser-var-fix
Fixed string variable declaration
diff --git a/src/commands/math/commands.js b/src/commands/math/commands.js
index 2b9baf8..51e712a 100644
--- a/src/commands/math/commands.js
+++ b/src/commands/math/commands.js
@@ -814,7 +814,7 @@
return this;
};
_.parser = function() {
- var self = this;
+ var self = this,
string = Parser.string, regex = Parser.regex, succeed = Parser.succeed;
return string('{').then(regex(/^[a-z][a-z0-9]*/i)).skip(string('}'))
.then(function(name) {