mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-22 21:57:32 +02:00
b2/boom.c (main): rearrange to reduce indentation depth
This commit is contained in:
parent
3ebac688bd
commit
be1277eb99
@ -129,7 +129,10 @@ int main(int argc, char **argv)
|
||||
|
||||
dollar = unique("$");
|
||||
for (i = 1; i != argc; i++) {
|
||||
if (*argv[i] == '-') {
|
||||
if (*argv[i] != '-') {
|
||||
process(argv[i]);
|
||||
continue;
|
||||
}
|
||||
if (!strcmp(argv[i], "-N")) {
|
||||
i++;
|
||||
file_name_override = argv[i];
|
||||
@ -165,9 +168,6 @@ int main(int argc, char **argv)
|
||||
select_parts = 1;
|
||||
} else
|
||||
usage(*argv);
|
||||
} else {
|
||||
process(argv[i]);
|
||||
}
|
||||
}
|
||||
if (vars)
|
||||
do_substitutions();
|
||||
|
Loading…
Reference in New Issue
Block a user