Branch: Tag:

1998-05-15

1998-05-15 18:30:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some additional paranoia.

Rev: src/lex.c:1.54

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: lex.c,v 1.53 1998/05/12 23:51:26 hubbe Exp $"); + RCSID("$Id: lex.c,v 1.54 1998/05/15 18:30:21 grubba Exp $");   #include "language.h"   #include "array.h"   #include "lex.h"
550:    }       badhash: -  my_yyerror("Unknown directive #%s.",buf); +  if (sizeof(buf) < 1024) { +  my_yyerror("Unknown preprocessor directive #%s.",buf); +  } else { +  my_yyerror("Unknown preprocessor directive."); +  }    SKIPUPTO('\n');    continue;    }