mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
parent
ca27c8769e
commit
8682c530af
@ -251,7 +251,9 @@ in return T_IN;
|
|||||||
\> return T_GREATER_THAN;
|
\> 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(); } }
|
<<EOF>> { if (!yyextra->m_Eof) { yyextra->m_Eof = true; return T_NEWLINE; } else { yyterminate(); } }
|
||||||
. return yytext[0];
|
. return yytext[0];
|
||||||
|
|
||||||
|
@ -907,11 +907,11 @@ rterm_no_side_effect: T_STRING
|
|||||||
}
|
}
|
||||||
| '('
|
| '('
|
||||||
{
|
{
|
||||||
context->m_IgnoreNewlines++;
|
context->m_OpenBraces++;
|
||||||
}
|
}
|
||||||
rterm ')'
|
rterm ')'
|
||||||
{
|
{
|
||||||
context->m_IgnoreNewlines--;
|
context->m_OpenBraces--;
|
||||||
$$ = $3;
|
$$ = $3;
|
||||||
}
|
}
|
||||||
| rterm T_LOGICAL_OR rterm { MakeRBinaryOp<LogicalOrExpression>(&$$, $1, $3, @1, @3); }
|
| rterm T_LOGICAL_OR rterm { MakeRBinaryOp<LogicalOrExpression>(&$$, $1, $3, @1, @3); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user