OSDN Git Service

Alter plpgsql's lexer so that yylineno and yymore are not used. This
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 May 2003 16:46:28 +0000 (16:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 May 2003 16:46:28 +0000 (16:46 +0000)
commit20aea2ec7b278e664e420172160073ccc2ad24ad
treed37c4bf295aaccca88ed59e4624728b2e1152659
parentea7896bf5884962ce7c5ec522e166ca7253085b8
Alter plpgsql's lexer so that yylineno and yymore are not used.  This
avoids 'input buffer overflow' failure on long literals, improves
performance, gives the right answer for line position in functions
containing multiline literals, suppresses annoying compiler warnings,
and generally is so much better I wonder why we didn't do it before.
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l