Commit d02542b8 authored by Michaël Cadilhac's avatar Michaël Cadilhac
Browse files

2005-06-09 Michael Cadilhac <michael.cadilhac@lrde.epita.fr>

	* parser.y,
	* monoburg.c,
	* monoburg.h: Rename "warn_cpp" function to "warn_cxx".
parent fd0f06d0
2005-06-09 Michael Cadilhac <michael.cadilhac@lrde.epita.fr>
* parser.y,
* monoburg.c,
* monoburg.h: Rename "warn_cpp" function to "warn_cxx".
2005-06-09 Michael Cadilhac <michael.cadilhac@lrde.epita.fr>
* monoburg.c: Output MB_TERM* and MB_NTERM* in enums `MBTerms' and
......
......@@ -1136,7 +1136,7 @@ check_result ()
}
void
warn_cpp (const gchar *use_of)
warn_cxx (const gchar *use_of)
{
static int b_said = FALSE;
......@@ -1221,7 +1221,7 @@ main (int argc, char *argv [])
} else if (strcmp(argv [i] + 2, "without-exported-symbols") == 0) {
with_exported_symbols = FALSE;
} else if (strcmp(argv [i] + 2, "with-references") == 0) {
warn_cpp ("`--with-references' option");
warn_cxx ("`--with-references' option");
with_references = TRUE;
} else {
usage ();
......
......@@ -85,7 +85,7 @@ void rule_add (Rule *rule, char *code, char *cost, char *cfunc);
void create_rule (char *id, Tree *tree, char *code, char *cost,
char *cfunc);
void warn_cpp (const gchar *use_of);
void warn_cxx (const gchar *use_of);
void yyparsetail (void);
......
......@@ -53,7 +53,7 @@ decls : /* empty */
| TERM tlist decls
| TERMPREFIX plist decls
| NAMESPACE IDENT {
warn_cpp ("`%namespace' directive");
warn_cxx ("`%namespace' directive");
if (n_namespace == MAX_NAMESPACES)
yyerror ("maximum namespace depth reached.");
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment