From a5674ebf3ce33d344b22713c52abdbf1f12b785a Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Tue, 23 Jul 2019 12:47:58 +0200 Subject: [PATCH] [745-produce-grammars-from-bison-files] Added NULL token --- src/lib/eval/location.hh | 1 - src/lib/eval/position.hh | 1 - src/lib/eval/stack.hh | 1 - tools/extract_bnf.sh.in | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) 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 }' |\ -- 2.47.2