mirror of
				https://github.com/cclassic/model-ghdl
				synced 2025-10-30 02:12:05 +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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user