Tom Lane
2e95f1f002
Add "%option warn" to all flex input files that lacked it.
...
This is recommended in the flex manual, and there seems no good reason
not to use it everywhere.
2011-08-25 13:55:57 -04:00
Peter Eisentraut
fc946c39ae
Remove useless whitespace at end of lines
2010-11-23 22:34:55 +02:00
Tom Lane
3e4264ca35
Add %option noinput to contrib's flex scanners, to suppress gcc 4.3
...
warnings. Peter did this for core awhile ago but evidently missed
contrib.
2008-08-25 23:12:45 +00:00
Tom Lane
ad148c4154
Suppress warnings on platforms where fprintf is a macro (eg, recent
...
Fedora). This was already done by somebody for the core flex files,
but these contrib files seem to have been missed.
2005-10-15 20:37:36 +00:00
Tom Lane
db64df4b1c
Fix contrib/cube and contrib/seg to compile on Windows.
...
Andreas Pflug
2004-09-14 04:21:38 +00:00
Tom Lane
fa96a5e15b
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.
2004-02-24 22:06:32 +00:00
Tom Lane
043be9ad96
Make contrib/seg work with flex 2.5.31. Fix it up to have a real
...
btree operator class, too, since in PG 7.4 you can't GROUP without one.
2003-09-14 02:18:49 +00:00
Tom Lane
5666462f2e
Ensure that in all flex lexers that are part of the backend, a
...
yy_fatal_error() call results in elog(ERROR) not exit(). This was
already fixed in the main lexer and plpgsql, but extend same technique
to all the other dot-l files. Also, on review of the possible calls
to yy_fatal_error(), it seems safe to use elog(ERROR) not elog(FATAL).
2003-05-29 22:30:02 +00:00
Tom Lane
df7201c3c5
Remove no-longer-needed inclusions to improve backward compatibility
...
with older bison versions.
2002-11-07 06:06:17 +00:00
Tom Lane
52c9d25933
Be careful to include postgres.h *before* any system headers, to ensure
...
that the right flavors of largefile-related definitions are seen.
Most of these changes are probably unnecessary, but better safe than
sorry.
2002-09-05 00:43:07 +00:00
Tom Lane
9f1fc1080e
Since we're depending on %option noyywrap in the main scanner now,
...
we may as well use it in all our flex files. Make all the flex files
have a consistent set of options.
2002-07-30 16:33:08 +00:00
Tom Lane
a3694b420f
Gene Selkov's SEG datatype (GiST example code)
2000-12-11 20:40:33 +00:00