summaryrefslogtreecommitdiff
path: root/colm/main.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2011-12-29 18:42:28 +0000
committerAdrian Thurston <thurston@complang.org>2011-12-29 18:42:28 +0000
commit022d08cc0916d9ddad6ed147499112a0c717feb2 (patch)
tree84f5c731acd679711bfa31353531cb671764c50a /colm/main.cc
parente6901816358367ecbb0362134d2dbcd49dc4e19e (diff)
downloadcolm-022d08cc0916d9ddad6ed147499112a0c717feb2.tar.gz
First commit in redesign of the input interface. refs #342. Also copying data
into the FSM run struct. Using a new input function called consumeInput for advancing over data that is consumed. refs #340.
Diffstat (limited to 'colm/main.cc')
-rw-r--r--colm/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/colm/main.cc b/colm/main.cc
index 7a444234..b3db194c 100644
--- a/colm/main.cc
+++ b/colm/main.cc
@@ -460,6 +460,8 @@ void processArgs( int argc, const char **argv )
colmActiveRealm |= REALM_POOL;
else if ( strcmp( pc.parameterArg, "PRINT" ) == 0 )
colmActiveRealm |= REALM_PRINT;
+ else if ( strcmp( pc.parameterArg, "INPUT" ) == 0 )
+ colmActiveRealm |= REALM_INPUT;
else
fatal( "unknown argument to -D %s\n", pc.parameterArg );
#else