Merge pull request #343 from arlolra/split2

More split outs from #339
redux
David Majda 10 years ago
commit 9815e49477

@ -1,16 +1,18 @@
{
"curly": true,
"eqeqeq": true,
"evil": true,
"forin": true,
"freeze": true,
"immed": true,
"latedef": "nofunc",
"laxbreak": true,
"loopfunc": true,
"noarg": true,
"noempty": true,
"nonew": true,
"trailing": true,
"-W082": false
"curly": true,
"eqeqeq": true,
"evil": true,
"forin": true,
"freeze": true,
"immed": true,
"latedef": "nofunc",
"laxbreak": true,
"loopfunc": true,
"newcap": false,
"noarg": true,
"noempty": true,
"nonew": true,
"trailing": true,
"validthis": true,
"-W082": false
}

@ -761,6 +761,8 @@ function generateJavascript(ast, options) {
parts.push([
'(function() {',
' "use strict";',
'',
' /*',
' * Generated by PEG.js 0.8.0.',
' *',
@ -1147,7 +1149,7 @@ function generateJavascript(ast, options) {
}
if (ast.initializer) {
parts.push(indent4("{" + ast.initializer.code + "}"));
parts.push(indent4(ast.initializer.code));
parts.push('');
}

@ -1,4 +1,6 @@
module.exports = (function() {
"use strict";
/*
* Generated by PEG.js 0.8.0.
*
@ -4893,7 +4895,7 @@ module.exports = (function() {
return s0;
}
{
var OPS_TO_PREFIXED_TYPES = {
"$": "text",
"&": "simple_and",
@ -4940,7 +4942,7 @@ module.exports = (function() {
function buildList(first, rest, index) {
return [first].concat(extractList(rest, index));
}
}
peg$result = peg$startRuleFunction();

Loading…
Cancel
Save