/* Parse C expressions for CCCP.
- Copyright (C) 1987, 2000 Free Software Foundation.
+ Copyright (C) 1987, 2000, 2001 Free Software Foundation.
Adapted from expread.y of GDB by Paul Rubin, July 1986.
Adapted to ANSI C, Richard Stallman, Jan 1987
Dusted off, polished, and adapted for use as traditional
%{
#include "config.h"
#include "system.h"
-#include "defaults.h"
#include "tradcpp.h"
#include <setjmp.h>
static int yylex PARAMS ((void));
- static void yyerror PARAMS ((const char *msgid));
+ static void yyerror PARAMS ((const char *msgid)) ATTRIBUTE_NORETURN;
static int parse_number PARAMS ((int));
static int parse_escape PARAMS ((const char **));
yyerror (s)
const char *s;
{
- error (s);
+ error ("%s", s);
longjmp (parse_return_error, 1);
}
\f