]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/main.cc
idlcomp: Make idl_error() accept a const pointer.
[polintos/scott/priv.git] / idlcomp / main.cc
index a38319fc93e4fb943997f66c4d99a7d7fb0cd96d..c21532ead39b7c2847f34dc9f8901e28fb4ad6a7 100644 (file)
@@ -797,7 +797,7 @@ extern "C" int yywrap()
 
 extern char *yytext;
 
 
 extern char *yytext;
 
-void idl_error(char *s)
+void idl_error(const char *s)
 {
        if (strlen(yytext))
                fprintf(stderr, "%s:%d: %s at \"%s\".\n", cur_input_file, curline, s, yytext);
 {
        if (strlen(yytext))
                fprintf(stderr, "%s:%d: %s at \"%s\".\n", cur_input_file, curline, s, yytext);