summaryrefslogtreecommitdiffhomepage
path: root/cppbnf.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-21 16:06:47 +0100
committerRoland Reichwein <mail@reichwein.it>2020-03-21 16:06:47 +0100
commitcdf001920fde6652b344775589b0524ff6529809 (patch)
tree883ab6232a4c4ca4056b123bff7c7d1cd98c5cf4 /cppbnf.h
parent3cc139bce0283018473d4906ee2ea5f40f771255 (diff)
Added Gram::Compiler to CPP (WIP)
Diffstat (limited to 'cppbnf.h')
-rw-r--r--cppbnf.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/cppbnf.h b/cppbnf.h
index 384e6cf..075156c 100644
--- a/cppbnf.h
+++ b/cppbnf.h
@@ -2,5 +2,11 @@
#include "bnf.h"
-BNF GetCppBNFLex();
-BNF GetCppBNFGram();
+namespace CPPBNF {
+
+ BNF GetCppBNFLex();
+ BNF GetCppBNFGram();
+ bool valid(const BNF& bnf);
+ bool validLex(const BNF& bnf);
+
+}