[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Redifining yyltype
From: |
Henrik Sorensen |
Subject: |
Redifining yyltype |
Date: |
Mon, 12 Apr 2004 09:17:50 +0200 |
User-agent: |
KMail/1.5.1 |
Hello List,
What is the recommended way to redefine the structure used for tracking token
locations?
Should I define a new typedef or redefine the yyltype ?
Or something else I didn't think of ?
1)
typedef myOwnLtype { .... } myOwnLtype;
#define YYLTYPE myOwnLtype
or
2)
typedef yyltype { int a;int b; } yyltype;
...
please cc me, as I am not subscribed to help-bison
Thanks
Henrik
- Redifining yyltype,
Henrik Sorensen <=