]> granicus.if.org Git - postgresql/commit
Remove fixed-size literal buffer from scan.l, and repair
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Oct 1999 02:42:31 +0000 (02:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 18 Oct 1999 02:42:31 +0000 (02:42 +0000)
commit8e35bbd133ce1e5da00a0010e7e5d327e11160ec
tree22caf09b9752048c1b20ad66655b42f5bf147fc2
parentd07766fb5037ff97d8240931b02277532ad4ddd1
Remove fixed-size literal buffer from scan.l, and repair
boundary-condition bug in myinput() which caused flex scanner to fail
on tokens larger than a bufferload.  Turns out flex doesn't want null-
terminated input ... and if it gives you a 1-character buffer, you'd
better supply a character, not a null, lest you be thought to be
reporting end of input.
src/backend/parser/Makefile
src/backend/parser/scan.l