return;
}
+ const bool lookahead = o.block().opts->lookahead;
+ o.wdelay_skip(ind, skip && !lookahead);
code_lines_t code;
gen_settags(code, dfa, tags, o.block().opts);
for (size_t i = 0; i < code.size(); ++i) {
o.wind(ind).wstring(code[i]);
}
- o.wdelay_skip(ind, skip);
+ o.wdelay_skip(ind, skip && lookahead);
if (type == SWITCH_IF) {
info.switchif->emit (o, ind, dfa);
--- /dev/null
+/* Generated by re2c */
+
+{
+ YYCTYPE yych;
+ yyt1 = NULL;
+ yyt2 = YYCURSOR;
+ goto yy0;
+yy1:
+yy0:
+ if (YYLIMIT <= YYCURSOR) YYFILL(1);
+ yych = *YYCURSOR;
+ switch (yych) {
+ case 'a':
+ ++YYCURSOR;
+ goto yy3;
+ default: goto yy2;
+ }
+yy2:
+ a = yyt1;
+ {}
+yy3:
+ if (YYLIMIT <= YYCURSOR) YYFILL(1);
+ yych = *YYCURSOR++;
+ yyt1 = yyt2;
+ yyt2 = YYCURSOR;
+ goto yy1;
+}
+
+re2c: warning: line 3: rule matches empty string [-Wmatch-empty-string]
+re2c: warning: line 3: tag 'a' is non-deterministic and induces 2 parallel instances [-Wnondeterministic-tags]