1
0
mirror of https://github.com/cclassic/model-ghdl synced 2024-11-24 08:45:05 +01:00

[vcom] Bugfix where non-source error/warnings would not be displayed

This commit is contained in:
Markus Koch 2016-05-21 22:02:09 +02:00
parent 710ad3cb01
commit 1df04509a4

8
main.c
View File

@ -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);
}