From: Christoph Mallon Date: Mon, 20 Oct 2008 08:35:58 +0000 (+0000) Subject: Resolve assertion, when using -fsyntax-only. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=d8b8eb90401beb2c41df47828e59fe1cdfcfa115;p=cparser Resolve assertion, when using -fsyntax-only. [r23020] --- diff --git a/main.c b/main.c index a103a60..52fc6c5 100644 --- a/main.c +++ b/main.c @@ -970,9 +970,8 @@ int main(int argc, char **argv) case PrintCaml: case LexTest: case PreprocessOnly: - outname = "-"; - break; case ParseOnly: + outname = "-"; break; case Compile: get_output_name(outnamebuf, sizeof(outnamebuf), filename, ".s");