summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cd494d6f..fbb4bfbb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -450,6 +450,8 @@ ProgramParams::ProgramParams(int argc, char *argv[])
arg = argv[++i];
if( strcmp(arg, "parse") == 0 )
this->last_stage = STAGE_PARSE;
+ else if( strcmp(arg, "resolve") == 0 )
+ this->last_stage = STAGE_RESOLVE;
else {
::std::cerr << "Unknown argument to --stop-after : '" << arg << "'" << ::std::endl;
exit(1);