Skip to content

Commit

Permalink
bison-3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyg committed Oct 15, 2024
1 parent fadfa1f commit a7ca7cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions grunch/cry.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* -*- mode: c; indent-width: 4; -*- */
/* $Id: cry.y,v 1.37 2024/08/02 12:58:32 cvsuser Exp $
/* $Id: cry.y,v 1.38 2024/10/15 15:50:08 cvsuser Exp $
* grunch/crunch grammer, extended c99
*
*
Expand All @@ -22,7 +22,6 @@
#include "grunch.h"
%}


/*control structure*/
%union {
const char *sval; /* String/typedef */
Expand Down
5 changes: 4 additions & 1 deletion grunch/makentypes.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/perl
# $Id: makentypes.pl,v 1.13 2024/05/24 17:58:11 cvsuser Exp $
# $Id: makentypes.pl,v 1.14 2024/10/15 15:50:08 cvsuser Exp $
# Generate crntypes.h from the gen and grunch symbols.
# -*- mode: perl; tabs: 8; indent-width: 4; -*-
#
Expand Down Expand Up @@ -335,6 +335,9 @@ BEGIN
# Definitions
#
print OUT<<EOT;
#if !defined(YYEMPTY)
#define YYEMPTY -2 /* bison 3.6.1 issues */
#endif
enum crntypes {
EOT
Expand Down

0 comments on commit a7ca7cc

Please sign in to comment.