added more combinators to parser
[lambda.git] / code / tokens.js
index ddf1e89..921040d 100644 (file)
@@ -88,6 +88,7 @@ String.prototype.tokens = function (prefix, suffix) {
                                // should only be terminal
                     str += c;
                     i += 1;
+                                       c = this.charAt(i);
                                // make sure next character is not an identifier
                                        if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
                                                (c >= '0' && c <= '9') || c === '_' || c === '-' || c === '/' || c === '?' || c === '!') {