diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 52247559d1a..4091b6db638 100644 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -1313,9 +1313,9 @@ if __name__ == "__main__": for o, v in opts: if o == '-h': H_FILE = v - if o == '-c': + elif o == '-c': C_FILE = v - if o == '-d': + elif o == '-d': dump_module = True if H_FILE and C_FILE: print('Must specify exactly one output file')