Add %option nodefault to all our flex lexers. Fix a couple of rule gaps
Tom Lane <tgl@sss.pgh.pa.us>
Add %option nodefault to all our flex lexers. Fix a couple of rule gaps exposed thereby. AFAICT these would not lead to any worse problems than junk emitted on the backend's stdout, but we should have the option to catch possible worse errors in future.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cubescan.l | modified | +2 −1 |
| contrib/seg/segscan.l | modified | +2 −1 |
| contrib/tsearch2/wordparser/parser.l | modified | +1 −0 |
| contrib/tsearch/parser.l | modified | +1 −0 |
| src/backend/bootstrap/bootscanner.l | modified | +2 −1 |
| src/backend/utils/misc/guc-file.l | modified | +2 −1 |
| src/interfaces/ecpg/preproc/pgc.l | modified | +2 −1 |
| src/pl/plpgsql/src/scan.l | modified | +4 −2 |