summaryrefslogtreecommitdiff
path: root/colm/main.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-03-03 09:40:29 -0500
committerAdrian Thurston <thurston@complang.org>2013-03-03 09:40:29 -0500
commitc900280fdf451eb0807a919bfbeb0026552707af (patch)
treeb7712d5eb123d7847775a0f5cf6c6a2993a205a7 /colm/main.cc
parent0cd9fc50742515b793315c09cb851033b20ef104 (diff)
downloadcolm-c900280fdf451eb0807a919bfbeb0026552707af.tar.gz
added the second stage of the bootstrap
The bootstrap0 program uses a hardcoded grammar to genterate parser1. The bootstrap1 program uses parser1 and colm file to generate parser2. The colm program uses parser2.
Diffstat (limited to 'colm/main.cc')
-rw-r--r--colm/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/main.cc b/colm/main.cc
index 37bc5c8a..4186735c 100644
--- a/colm/main.cc
+++ b/colm/main.cc
@@ -587,7 +587,7 @@ int main(int argc, const char **argv)
parser->addArgvList();
if ( bootStrap ) {
-#ifdef BOOTSTRAP
+#ifdef BOOTSTRAP0
parser->go();
#endif
}