|
From: Peep P. <so...@us...> - 2004-07-24 18:01:08
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32739 Modified Files: compile.h Log Message: Renamed display_error to do_error Index: compile.h =================================================================== RCS file: /cvsroot/agd/server/src/compile.h,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- compile.h 8 Jun 2004 20:24:10 -0000 1.14 +++ compile.h 24 Jul 2004 18:00:59 -0000 1.15 @@ -35,7 +35,6 @@ int check_operand(int operator, int opr1, int opr2); /*int get_fun_index(object_t *ob, char *fun);*/ -void add_function(def_id_t *idp, int lineno); void add_token(int t); void add_two_tokens(int t1, int t2); def_id_t *add_variable(char *name, int lpc_type, int type); @@ -44,10 +43,10 @@ /* Warnings and errors. */ extern int compile_errors, compile_warnings; -void display_error(char *s); +void do_error(char *s); int yyerror(char *s); -#define comp_error(s) display_error(s); compile_errors++ -#define comp_warning(s) display_error("warning: "s); compile_warnings++ +#define comp_error(s) do_error(s); compile_errors++ +#define comp_warning(s) do_error("warning: "s); compile_warnings++ #endif |