summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2ffab7e8..b8ba315d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -535,6 +535,8 @@ ProgramParams::ProgramParams(int argc, char *argv[])
arg = argv[++i];
if( strcmp(arg, "parse") == 0 )
this->last_stage = STAGE_PARSE;
+ else if( strcmp(arg, "expand") == 0 )
+ this->last_stage = STAGE_EXPAND;
else if( strcmp(arg, "resolve") == 0 )
this->last_stage = STAGE_RESOLVE;
else if( strcmp(arg, "mir") == 0 )