• Peter Eisentraut's avatar
    Scanner performance improvements · 32c6c99e
    Peter Eisentraut authored
    Use flex flags -CF.  Pass the to-be-scanned string around as StringInfo
    type, to avoid querying the length repeatedly.  Clean up some code and
    remove lex-compatibility cruft.  Escape backslash sequences inline.  Use
    flex-provided yy_scan_buffer() function to set up input, rather than using
    myinput().
    32c6c99e
parser.c 2.63 KB