*/
static void con_enablecolor(void) {
if (console.handle_err == stderr || console.handle_err == stdout)
- console.color_err = true; /*!!(isatty(STDERR_FILENO));*/
+ console.color_err = !!(isatty(STDERR_FILENO));
if (console.handle_out == stderr || console.handle_out == stdout)
- console.color_out = true; /*!!(isatty(STDOUT_FILENO));*/
+ console.color_out = !!(isatty(STDOUT_FILENO));
}
/*
return ln;
}
-#ifndef QCVM_EXECUTOR
/*
* Utility console message writes for lexer contexts. These will allow
* for reporting of file:line based on lexer context, These are used
va_end (va);
}
+#ifndef QCVM_EXECUTOR
/* General error interface */
size_t compile_errors = 0;
size_t compile_warnings = 0;