Emit little bit less whitespace in actions
This commit is contained in:
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…
Reference in a new issue