Update all other targets
This commit is contained in:
parent
b11ff9636a
commit
068a13e0f8
|
@ -720,6 +720,7 @@ if ( <if(invert)><m.varName> \<= 0 || <else>!<endif>(<expr>) ) {
|
|||
<if(m.labels)><m.labels:{l | <labelref(l)> = }><endif>ErrorHandler.RecoverInline(this);
|
||||
}
|
||||
else {
|
||||
ErrorHandler.ReportMatch(this);
|
||||
Consume();
|
||||
}
|
||||
>>
|
||||
|
|
|
@ -816,7 +816,9 @@ setState(<m.stateNumber>);
|
|||
<capture>
|
||||
if (<if (invert)><m.varName> == 0 || <m.varName> == Token::EOF || <else>!<endif>(<expr>)) {
|
||||
<if (m.labels)><m.labels: {l | <labelref(l)> = }><endif>_errHandler->recoverInline(this);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
_errHandler->reportMatch(this);
|
||||
consume();
|
||||
}
|
||||
>>
|
||||
|
|
|
@ -405,7 +405,7 @@ func (p *<parser.name>) <currentRule.name; format="cap">(<currentRule.args:{a |
|
|||
<endif>
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
<if(currentRule.hasLookaheadBlock)>
|
||||
var _alt int
|
||||
<endif>
|
||||
|
@ -808,6 +808,7 @@ var _lt = p.GetTokenStream().LT(1)<! TODO: Should LT be called always like Invok
|
|||
p.GetErrorHandler().RecoverInline(p)
|
||||
<endif>
|
||||
} else {
|
||||
p.GetErrorHandler().ReportMatch(p)
|
||||
p.Consume()
|
||||
}
|
||||
>>
|
||||
|
|
|
@ -523,6 +523,7 @@ this.state = <m.stateNumber>;
|
|||
<if(m.labels)><m.labels:{l | <labelref(l)> = }><endif>this._errHandler.recoverInline(this);
|
||||
}
|
||||
else {
|
||||
this._errHandler.reportMatch(this);
|
||||
this.consume();
|
||||
}
|
||||
>>
|
||||
|
|
|
@ -493,6 +493,7 @@ self.state = <m.stateNumber>
|
|||
<if(invert)>if <m.varName> \<= 0 or <expr><else>if not(<expr>)<endif>:
|
||||
<if(m.labels)><m.labels:{l | <labelref(l)> = }><else> <endif>self._errHandler.recoverInline(self)
|
||||
else:
|
||||
self._errHandler.reportMatch(self)
|
||||
self.consume()
|
||||
>>
|
||||
|
||||
|
|
|
@ -501,6 +501,7 @@ self.state = <m.stateNumber>
|
|||
<if(invert)>if <m.varName> \<= 0 or <expr><else>if not(<expr>)<endif>:
|
||||
<if(m.labels)><m.labels:{l | <labelref(l)> = }><else> <endif>self._errHandler.recoverInline(self)
|
||||
else:
|
||||
self._errHandler.reportMatch(self)
|
||||
self.consume()
|
||||
>>
|
||||
|
||||
|
|
|
@ -696,7 +696,9 @@ setState(<m.stateNumber>)
|
|||
<capture>
|
||||
if (<if(invert)><m.varName> \<= 0 || <else>!<endif>(<expr>)) {
|
||||
<if(m.labels)><m.labels:{l | <labelref(l)> = }><endif>try _errHandler.recoverInline(self)<if(m.labels)> as Token<endif>
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
_errHandler.reportMatch(self)
|
||||
try consume()
|
||||
}
|
||||
>>
|
||||
|
|
Loading…
Reference in New Issue