#define WARN_ALL (1 << 31)
extern unsigned int warning_flags;
+extern char *input_filename;
+
extern struct brw_context genasm_context;
extern struct brw_compile genasm_compile;
va_list args;
if (location)
- fprintf(stderr, "%d:%d: %s: ", location->first_line,
+ fprintf(stderr, "%s:%d:%d: %s: ", input_filename, location->first_line,
location->first_column, level_str[level]);
else
- fprintf(stderr, "%s: ", level_str[level]);
+ fprintf(stderr, "%s:%s: ", input_filename, level_str[level]);
va_start(args, fmt);
vfprintf(stderr, fmt, args);