summaryrefslogtreecommitdiff
path: root/src/reduce.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-12-13 13:38:54 +0200
committerAdrian Thurston <thurston@colm.net>2018-12-13 13:48:27 +0200
commit17991269d612fa8b1eb8ec6c43d072d813457a56 (patch)
tree152451766d2c92885dbf9d36ae1febaf03503701 /src/reduce.cc
parent586156b75620db8e78700c37ab31b4aff2ad8c35 (diff)
downloadcolm-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.cc5
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();