From: Francis Dupont Date: Tue, 23 Jul 2019 10:47:58 +0000 (+0200) Subject: [745-produce-grammars-from-bison-files] Added NULL token X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2F745-produce-grammars-from-bison-files;p=thirdparty%2Fkea.git [745-produce-grammars-from-bison-files] Added NULL token --- diff --git a/src/lib/eval/location.hh b/src/lib/eval/location.hh index 135200f062..cf3341af9b 100644 --- a/src/lib/eval/location.hh +++ b/src/lib/eval/location.hh @@ -1,4 +1,3 @@ -// Generated 201906181714 // A Bison parser, made by GNU Bison 3.4.1. // Locations for Bison parsers in C++ diff --git a/src/lib/eval/position.hh b/src/lib/eval/position.hh index 160393c15e..c1280f1a34 100644 --- a/src/lib/eval/position.hh +++ b/src/lib/eval/position.hh @@ -1,4 +1,3 @@ -// Generated 201906181714 // A Bison parser, made by GNU Bison 3.4.1. // Starting with Bison 3.2, this file is useless: the structure it diff --git a/src/lib/eval/stack.hh b/src/lib/eval/stack.hh index 958da53ee1..0f7aafe529 100644 --- a/src/lib/eval/stack.hh +++ b/src/lib/eval/stack.hh @@ -1,4 +1,3 @@ -// Generated 201906181714 // A Bison parser, made by GNU Bison 3.4.1. // Starting with Bison 3.2, this file is useless: the structure it diff --git a/tools/extract_bnf.sh.in b/tools/extract_bnf.sh.in index e69fba56fb..d4f6c97a86 100755 --- a/tools/extract_bnf.sh.in +++ b/tools/extract_bnf.sh.in @@ -48,6 +48,7 @@ cat $output |\ @AWK@ '// { gsub("\"integer\"", "INTEGER"); print }' |\ @AWK@ '// { gsub("\"floating point\"", "FLOAT"); print }' |\ @AWK@ '// { gsub("\"boolean\"", "BOOLEAN"); print }' |\ +@AWK@ '// { gsub("\"null\"", "NULL"); print }' |\ @AWK@ '// { gsub("\"constant hexstring\"", "HEXSTRING"); print }' |\ @AWK@ '// { gsub("\"option name\"", "OPTION_NAME"); print }' |\ @AWK@ '// { gsub("\"ip address\"", "IP_ADDRESS"); print }' |\