/[anubis]/anubis/src/rcfile.y
ViewVC logotype

Diff of /anubis/src/rcfile.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by gray, Tue Jul 1 15:21:52 2003 UTC revision 1.21 by gray, Sun Jul 6 09:24:26 2003 UTC
# Line 502  parse_error(const char *fmt, ...) Line 502  parse_error(const char *fmt, ...)
502          va_start(ap, fmt);          va_start(ap, fmt);
503          vsnprintf(buf, sizeof buf, fmt, ap);          vsnprintf(buf, sizeof buf, fmt, ap);
504          va_end(ap);          va_end(ap);
505          anubis_error(SOFT, "%s:%d: %s", cfg_file, err_line_num(), buf);          anubis_error(SYNTAX, "%s:%d: %s", cfg_file, err_line_num(), buf);
506  }  }
507    
508  int  int
509  yyerror(char *s)  yyerror(char *s)
510  {  {
511          anubis_error(SOFT, "%s:%d: %s", cfg_file, cfg_line_num, s);          anubis_error(SYNTAX, "%s:%d: %s", cfg_file, cfg_line_num, s);
512          error_count++;          error_count++;
513          return 0;          return 0;
514  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26