Hi.

> > Hi.
> >
> >> > The program below correctly produces no output, with and without the fix
> >> > in dfa.c:lex. (I have added the fix anyway.)
> >
> > Also with LC_ALL=en_US.utf8, without the fix the program still passes.
> >
> > So, any ideas?
>
> Hi Arnold,
> I don't recall how gawk uses dfa.c, so can't really guess.
> Does the DFA matcher really accept those?  If so, maybe
> gawk somehow manages to reset that dfa.c-internal variable
> via some other code path?

I will look in a debugger.

It's entirely possible that gawk is falling back to regex when
dfa fails.  In which case I should see an internal difference before
and after the fix.

Thanks

Arnold



Reply via email to