summaryrefslogtreecommitdiff
path: root/contrib/tsearch2
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-02-24 22:06:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-02-24 22:06:32 +0000
commitfa96a5e15b69707c2e05aa04bc73fa88b9a85f7a (patch)
treef96b6765fbef3523cd5e323153b298be26a66add /contrib/tsearch2
parent58e705320e0c9e691a3fd2bd544f375ee0ca23d6 (diff)
downloadpostgresql-fa96a5e15b69707c2e05aa04bc73fa88b9a85f7a.tar.gz
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.
Diffstat (limited to 'contrib/tsearch2')
-rw-r--r--contrib/tsearch2/wordparser/parser.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tsearch2/wordparser/parser.l b/contrib/tsearch2/wordparser/parser.l
index e36c19355c..e80f5fea90 100644
--- a/contrib/tsearch2/wordparser/parser.l
+++ b/contrib/tsearch2/wordparser/parser.l
@@ -18,6 +18,7 @@ YY_BUFFER_STATE buf = NULL; /* buffer to parse; it need for parse from string */
%option 8bit
%option never-interactive
+%option nodefault
%option nounput
%option noyywrap