File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2046,13 +2046,6 @@ def build_ws_dict(args):
2046
2046
ws_dict ['intrinsics' ] = args .whitespace_intrinsics
2047
2047
return ws_dict
2048
2048
2049
- case_dict = {
2050
- 'keywords' : args .case [0 ],
2051
- 'procedures' : args .case [1 ],
2052
- 'operators' : args .case [2 ],
2053
- 'constants' : args .case [3 ]
2054
- }
2055
-
2056
2049
# support legacy input:
2057
2050
if 'stdin' in args .path and not os .path .isfile ('stdin' ):
2058
2051
args .path = ['-' if _ == 'stdin' else _ for _ in args .path ]
@@ -2107,6 +2100,13 @@ def build_ws_dict(args):
2107
2100
file_args = file_argparser .parse_args (argv [1 :])
2108
2101
ws_dict = build_ws_dict (file_args )
2109
2102
2103
+ case_dict = {
2104
+ 'keywords' : file_args .case [0 ],
2105
+ 'procedures' : file_args .case [1 ],
2106
+ 'operators' : file_args .case [2 ],
2107
+ 'constants' : file_args .case [3 ]
2108
+ }
2109
+
2110
2110
stdout = file_args .stdout or directory == '-'
2111
2111
diffonly = file_args .diff
2112
2112
You can’t perform that action at this time.
0 commit comments