mirror of
https://github.com/cclassic/model-ghdl
synced 2025-08-01 15:05:40 +02:00
Extra arguments now work
This commit is contained in:
@@ -149,16 +149,12 @@ int main(int argc, char **argv)
|
||||
cerr << "INFO: Unknown command line opt: " << argv[i] << endl;
|
||||
}
|
||||
else {
|
||||
break; // Rest are VHDL input files
|
||||
vhdl.append(argv[i]);
|
||||
vhdl.append(" ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (; i < argc; ++i) {
|
||||
vhdl.append(argv[i]);
|
||||
vhdl.append(" ");
|
||||
}
|
||||
|
||||
#ifdef DEBUG_EN
|
||||
cout << "\n\nVCOM CALL PARSED:" << endl;
|
||||
cout << "\twork=" << work << endl;
|
||||
|
Reference in New Issue
Block a user