From: Terence Parr <> Date: Thu, 14 Sep 1995 00:39:54 +0000 (-0500) Subject: auto commit for import X-Git-Url: https://pd.if.org/git/?p=pccts;a=commitdiff_plain;h=df63684cb57f2da750f3c198605ca0ae7ae3ebc5 auto commit for import --- diff --git a/testcpp/8/main.cpp b/testcpp/8/main.cpp new file mode 100755 index 0000000..ad324c1 --- /dev/null +++ b/testcpp/8/main.cpp @@ -0,0 +1,14 @@ +/* Simple main() to call a parser in another file */ + +#include "tokens.h" // define TokenType +#include "Expr.h" // define parser +#include "DLGLexer.h" // define scanner +#include "PBlackBox.h" // Define ParserBlackBox + +int main() +{ + ParserBlackBox p(stdin); + + p.parser()->e(); /* start parsing at rule 'e' of that parser */ + return 0; +}