\> return T_GREATER_THAN;
}
-[\r\n]+ { yycolumn -= strlen(yytext) - 1; if (!yyextra->m_IgnoreNewlines) return T_NEWLINE; }
+\( { yyextra->m_IgnoreNewlines++; return '('; }
+\) { yyextra->m_IgnoreNewlines--; return ')'; }
+[\r\n]+ { yycolumn -= strlen(yytext) - 1; if (!yyextra->m_IgnoreNewlines) { return T_NEWLINE; } }
<<EOF>> { if (!yyextra->m_Eof) { yyextra->m_Eof = true; return T_NEWLINE; } else { yyterminate(); } }
. return yytext[0];
}
| '('
{
- context->m_IgnoreNewlines++;
+ context->m_OpenBraces++;
}
rterm ')'
{
- context->m_IgnoreNewlines--;
+ context->m_OpenBraces--;
$$ = $3;
}
| rterm T_LOGICAL_OR rterm { MakeRBinaryOp<LogicalOrExpression>(&$$, $1, $3, @1, @3); }