mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-29 09:13:28 +01:00
[vcom] Bugfix where non-source error/warnings would not be displayed
This commit is contained in:
parent
710ad3cb01
commit
1df04509a4
8
main.c
8
main.c
@ -82,7 +82,7 @@ int run_ghdl(char *command, ...) {
|
||||
char *start;
|
||||
char *ptr;
|
||||
int arrc;
|
||||
int fgetret;
|
||||
int i;
|
||||
|
||||
va_list argptr;
|
||||
va_start(argptr, command);
|
||||
@ -141,7 +141,11 @@ int run_ghdl(char *command, ...) {
|
||||
printf("** Warning: %s(%s): (ghdl) %s\n", arr[0], arr[1], arr[4]);
|
||||
}
|
||||
else {
|
||||
printf("** ghdl: %s\n", buf);
|
||||
printf("** ghdl: ");
|
||||
for (i = 0; i < arrc; i++) {
|
||||
printf("%s", arr[i]);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user