Last active
August 29, 2015 14:08
-
-
Save Havvy/3ae67031ef7bb79b669c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| macro commaBetweenRules { | |
| rule { a } => { "a" }, | |
| rule { b } => { "b" } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /home/havvy/sweetjs/playground/node_modules/sweet.js/lib/sweet.js:99 | |
| throw new SyntaxError(syn.printSyntaxError(source$2, err)) | |
| ^ | |
| SyntaxError: [mkSyntax] Must provide inner array of syntax objects when creating a delimiter | |
| at expand$2 (/home/havvy/sweetjs/playground/node_modules/sweet.js/lib/sweet.js:99:27) | |
| at parse (/home/havvy/sweetjs/playground/node_modules/sweet.js/lib/sweet.js:135:29) | |
| at Object.compile (/home/havvy/sweetjs/playground/node_modules/sweet.js/lib/sweet.js:143:19) | |
| at Object.exports.run (/home/havvy/sweetjs/playground/node_modules/sweet.js/lib/sjs.js:85:27) | |
| at Object.<anonymous> (/home/havvy/sweetjs/playground/node_modules/sweet.js/bin/sjs:7:23) | |
| at Module._compile (module.js:456:26) | |
| at Object.Module._extensions..js (module.js:474:10) | |
| at Module.load (module.js:356:32) | |
| at Function.Module._load (module.js:312:12) | |
| at Function.Module.runMain (module.js:497:10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment