Don't cache dummy results for primitive parsers.
This commit is contained in:
parent
578ac05154
commit
969d768205
30 changed files with 50 additions and 16 deletions
|
|
@ -40,6 +40,7 @@ static const HParserVtable butnot_vt = {
|
|||
.isValidRegular = h_false,
|
||||
.isValidCF = h_false, // XXX should this be true if both p1 and p2 are CF?
|
||||
.compile_to_rvm = h_not_regular,
|
||||
.higher = true,
|
||||
};
|
||||
|
||||
HParser* h_butnot(const HParser* p1, const HParser* p2) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue