wycats/handlebars.js — Issue #138: Unable to build handlebars due to Jison failure
Author: kdonald
Created: 2011-11-08 03:48:45+00:00
State: open

I'm unfortunately stuck attempting to build the latest handlebars dist from master. Any suggestions are appreciated.

Environment:
ruby 1.9.2p180
node v0.6.0
npm 1.0.104
jison 0.2.7

Error:

rake release
The "sys" module is now called "util". It should have a similar interface.

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
SyntaxError: Invalid regular expression: /^[.*\]/: Unterminated character class
at new RegExp (unknown source)
at prepareRules (/usr/local/lib/node_modules/jison/lib/jison/lexer.js:47:17)
at Object.buildActions (/usr/local/lib/node_modules/jison/lib/jison/lexer.js:105:18)
at Object.RegExpLexer (/usr/local/lib/node_modules/jison/lib/jison/lexer.js:122:39)
at [object Object].Jison_Generator (/usr/local/lib/node_modules/jison/lib/jison.js:101:22)
at [object Object]. (/usr/local/lib/node_modules/jison/lib/jison/util/typal.js:23:28)
at new (/usr/local/lib/node_modules/jison/lib/jison/util/typal.js:77:70)
at new Jison_Generator (/usr/local/lib/node_modules/jison/lib/jison.js:1490:20)
at processGrammar (/usr/local/lib/node_modules/jison/lib/jison/cli-wrapper.js:79:21)
at Object.main (/usr/local/lib/node_modules/jison/lib/jison/cli-wrapper.js:48:46)
Failed to run Jison.
rake aborted!