Emit little bit less whitespace in actions

redux
David Majda 15 years ago
parent ee8c121676
commit 7d4911ec53

@ -746,7 +746,7 @@ PEG.Compiler = {
return PEG.Compiler.formatCode(
"${expressionCode}",
"var ${resultVar} = ${expressionResultVar} !== null",
" ? (function(${formalParams}) { ${action} })(${actualParams})",
" ? (function(${formalParams}) {${action}})(${actualParams})",
" : null;",
{
expressionCode: PEG.Compiler.compileNode(node.expression, expressionResultVar),

Loading…
Cancel
Save