X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/287c78f6abb35137037a56d5e5ff9f35145f617b..68cae94e0b4e83246787fc5a413f085513ae9160:/src/scan-skel.l diff --git a/src/scan-skel.l b/src/scan-skel.l index b14fb40c..8a57af51 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -1,6 +1,7 @@ /* Scan Bison Skeletons. -*- C -*- - Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software + Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -39,10 +40,10 @@ #include "scan-skel.h" #define QPUTS(String) \ - fputs (quotearg_style (c_quoting_style, (String)), yyout) + fputs (quotearg_style (c_quoting_style, String), yyout) #define BASE_QPUTS(File) \ - assert (File), QPUTS (base_name (File)) + QPUTS (base_name (File)) %} %% @@ -63,15 +64,9 @@ if (*file_name == '@') { if (strcmp (file_name, "@output_header_name@") == 0) - { - assert (spec_defines_file); - file_name = spec_defines_file; - } + file_name = spec_defines_file; else if (strcmp (file_name, "@output_parser_name@") == 0) - { - assert (parser_file_name); - file_name = parser_file_name; - } + file_name = parser_file_name; else fatal ("invalid token in skeleton: %s", yytext); }