Home | History | Annotate | Download | only in Compiler

Lines Matching refs:option

70     def get_param(option):
71 tail = option[2:]
81 option = pop_arg()
82 if option in ("-V", "--version"):
84 elif option in ("-l", "--create-listing"):
86 elif option in ("-+", "--cplus"):
88 elif option == "--embed":
90 elif option.startswith("--embed="):
91 Options.embed = option[8:]
92 elif option.startswith("-I"):
93 options.include_path.append(get_param(option))
94 elif option == "--include-dir":
96 elif option in ("-w", "--working"):
98 elif option in ("-o", "--output-file"):
100 elif option in ("-t", "--timestamps"):
102 elif option in ("-f", "--force"):
104 elif option in ("-v", "--verbose"):
106 elif option in ("-p", "--embed-positions"):
108 elif option in ("-z", "--pre-import"):
110 elif option == "--cleanup":
112 elif option in ("-D", "--no-docstrings"):
114 elif option in ("-a", "--annotate"):
116 elif option == "--convert-range":
118 elif option == "--line-directives":
120 elif option == "--no-c-in-traceback":
122 elif option == "--gdb":
125 elif option == "--gdb-outdir":
128 elif option == "--lenient":
131 elif option == '-2':
133 elif option == '-3':
135 elif option == "--capi-reexport-cincludes":
137 elif option == "--fast-fail":
139 elif option in ('-Werror', '--warning-errors'):
141 elif option in ('-Wextra', '--warning-extra'):
143 elif option == "--old-style-globals":
145 elif option == "--directive" or option.startswith('-X'):
146 if option.startswith('-X') and option[2:].strip():
147 x_args = option[2:]
157 elif option.startswith('--debug'):
158 option = option[2:].replace('-', '_')
160 if option in dir(DebugFlags):
161 setattr(DebugFlags, option, True)
163 sys.stderr.write("Unknown debug flag: %s\n" % option)
165 elif option in ('-h', '--help'):
169 sys.stderr.write("Unknown compiler flag: %s\n" % option)