Skip to content

Commit

Permalink
Merge pull request #11 from sk-/master
Browse files Browse the repository at this point in the history
Fixed template to correctly deal with wildcards
Sorry for the delay, this had gotten off my radar
Can you provide a sample grammar that breaks due to this bug?
  • Loading branch information
ericvergnaud committed Oct 28, 2014
2 parents 7f2d1f2 + 899e9a4 commit 7063c54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ self.consume()
>>

Wildcard(w) ::= <<
setState(<w.stateNumber>);
<if(w.labels)><w.labels:{l | <labelref(l)> = }><endif>matchWildcard()
self.state = <w.stateNumber>
<if(w.labels)><w.labels:{l | <labelref(l)> = }><endif>self.matchWildcard()
>>

// ACTION STUFF
Expand Down

0 comments on commit 7063c54

Please sign in to comment.