summaryrefslogtreecommitdiff
path: root/contrib/tsearch
diff options
context:
space:
mode:
authorTom Lane2004-02-24 22:06:32 +0000
committerTom Lane2004-02-24 22:06:32 +0000
commitfa96a5e15b69707c2e05aa04bc73fa88b9a85f7a (patch)
treef96b6765fbef3523cd5e323153b298be26a66add /contrib/tsearch
parent58e705320e0c9e691a3fd2bd544f375ee0ca23d6 (diff)
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/tsearch')
-rw-r--r--contrib/tsearch/parser.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tsearch/parser.l b/contrib/tsearch/parser.l
index 17ac21dcd1c..3eb411dded3 100644
--- a/contrib/tsearch/parser.l
+++ b/contrib/tsearch/parser.l
@@ -16,6 +16,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