int con_err (const char *, ...);
int con_out (const char *, ...);
+bool con_color_err(void);
+bool con_color_out(void);
+
/* error/warning interface */
extern size_t compile_errors;
extern size_t compile_Werrors;
void ftepp_add_define (struct ftepp_s *ftepp, const char *source, const char *name);
void ftepp_add_macro (struct ftepp_s *ftepp, const char *name, const char *value);
+/*===================================================================*/
+/*============================= exec.c ==============================*/
+/*===================================================================*/
+enum {
+ DIAGNOSTIC_NULL,
+ DIAGNOSTIC_SEMICOLON,
+ DIAGNOSTIC_EXPRESSION_CASE,
+ DIAGNOSTIC_UNEXPECTED_IDENT,
+ DIAGNOSTIC_UNEXPECTED_TOKEN,
+ DIAGNOSTIC_EXPECTED,
+ DIAGNOSTIC_EXPECTED_END
+};
+
+void diagnostic_destroy(void);
+void diagnostic_calculate(const char *file, size_t line, size_t column, size_t diagnostic);
+
+
/*===================================================================*/
/*======================= main.c commandline ========================*/
/*===================================================================*/