diff options
author | Adrian Thurston <thurston@colm.net> | 2018-12-13 13:38:54 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-12-13 13:48:27 +0200 |
commit | 17991269d612fa8b1eb8ec6c43d072d813457a56 (patch) | |
tree | 152451766d2c92885dbf9d36ae1febaf03503701 /src/reduce.cc | |
parent | 586156b75620db8e78700c37ab31b4aff2ad8c35 (diff) | |
download | colm-17991269d612fa8b1eb8ec6c43d072d813457a56.tar.gz |
disabled the experimental postfix reduce
Considered using this as a means of transmitting parsed frontend to common
reducer in Ragel ... way too error prone though. May revive later on, however
the C++ wrapper for FILE is not standard.
refs #251
Diffstat (limited to 'src/reduce.cc')
-rw-r--r-- | src/reduce.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/reduce.cc b/src/reduce.cc index a2db97f0..6e010779 100644 --- a/src/reduce.cc +++ b/src/reduce.cc @@ -880,7 +880,8 @@ void Compiler::writeCommit() "#include <errno.h>\n" "\n" "#include <iostream>\n" - "#include <ext/stdio_filebuf.h>\n" + /* Not available on MAC OS. */ + // "#include <ext/stdio_filebuf.h>\n" "#include <fstream>\n" "\n" "using std::endl;\n" @@ -894,7 +895,7 @@ void Compiler::writeCommit() writeReduceDispatchers(); - writePostfixReduce(); + //writePostfixReduce(); writeParseReduce(); |