summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-06-08 09:59:52 -0400
committerAdrian Thurston <thurston@complang.org>2013-06-08 09:59:52 -0400
commitf9a9c45a1a247d1dd32c83f5068c8c7c7185a725 (patch)
tree311f1a197c26ead3a3f2c48a69f4a293b3f036cc /src/main.cc
parentcf47ae207efbf6727cc883c2a8309ff061060f3e (diff)
downloadcolm-f9a9c45a1a247d1dd32c83f5068c8c7c7185a725.tar.gz
fixed the input open check
This was accidentally compiled out due to changing macro names.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index aa9e97d8..aaf46e6f 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -586,7 +586,7 @@ int main(int argc, const char **argv)
}
-#if defined(CONS_COLM) || defined(LOAD_SRC)
+#if defined(LOAD_INIT) || defined(LOAD_COLM)
/* Open the input file for reading. */
if ( inputFn == 0 ) {
error() << "colm: no input file given" << endl;