• Tom Lane's avatar
    Convert the core lexer and parser into fully reentrant code, by making use · 91e71929
    Tom Lane authored
    of features added to flex and bison since this code was originally written.
    This change doesn't in itself offer any new capability, but it's needed
    infrastructure for planned improvements in plpgsql.
    
    Another feature now available in flex is the ability to make it use palloc
    instead of malloc, so do that to avoid possible memory leaks.  (We should
    at some point change the other lexers likewise, but this commit doesn't
    touch them.)
    91e71929
scan.l 34.4 KB