You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
%{
#include <stdio.h>
+#include "hconfig.h"
#include "bi-defs.h"
extern char yytext[];
extern int yyleng;
-extern char *malloc ();
-
/* Chain of all defs built by the parser. */
struct def *defs;
variation:
'(' opt_string ')'
- { $$ = makevar($2, (struct node *) NULL, (struct node *) NULL, (struct node *) NULL); }
+ { $$ = makevar ($2, (struct node *) NULL, (struct node *) NULL, (struct node *) NULL); }
| '(' opt_string ',' list ')'
{ $$ = makevar ($2, $4, (struct node *) NULL, (struct node *) NULL); }
| '(' opt_string ',' list ',' list ')'
yyerror (s)
char *s;
{
- fprintf (stderr, "syntax error in input");
- exit (1);
+ fprintf (stderr, "syntax error in input\n");
+ exit (FATAL_EXIT_CODE);
}