Comments (3)
You've probably found a solution by now but for anyone else coming across this bug, try the following patch:
diff --git a/gram.y b/gram.y
index 547d43e..f4da4f2 100644
--- a/gram.y
+++ b/gram.y
@@ -10,6 +10,13 @@ char optchar;
%}
+%union {
+ IDTYPE *id; /* identifier */
+ int num; /* number */
+ char *text; /* text */
+ BODYTYPE *body; /* body */
+ RULETYPE *rule; /* rule */
+}
/* identifier */
%token <id> IDENTIFIER
diff --git a/rail.h b/rail.h
index 707aab9..943c320 100644
--- a/rail.h
+++ b/rail.h
@@ -51,14 +51,6 @@ typedef struct rule {
struct rule *next;
} RULETYPE;
-typedef union {
- IDTYPE *id; /* identifier */
- int num; /* number */
- char *text; /* text */
- BODYTYPE *body; /* body */
- RULETYPE *rule; /* rule */
-} YYSTYPE;
-
extern unsigned line;
extern int copy;
from latex-rail.
I don't even remember where I tried this ^^
But thanks anyway!
from latex-rail.
Thanks for posting @simoncozens, can confirm that applying your patch makes the code compile.
from latex-rail.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latex-rail.