Extra "}" in types_trav.h causing syntax error
|
|
Bugzilla Link |
757 |
Created on |
Oct 06, 2010 11:10 |
Resolution |
FIXED |
Resolved on |
Oct 08, 2010 13:49 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
When compiling the sac2c compiler, the automatically generated file types_trav.h contains an extra "}" which causes the compilation to abort. An example:
typedef enum {
TR_undefined = 0, TR_rtspec = 1, ..., TR_msc = 279, TR_anonymous = 280}}
trav_t;
It seems that this "}" appears at the fixed position: column 4099.
This problem occurs on my local machine with the following xsltproc version:
xsltproc -version:
Using libxml 20705, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20632, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20632
libexslt 813 was compiled against libxml 20632
However on it works fine on obelix:
xsltproc -version:
Using libxml 20706, libxslt 10124 and libexslt 813
xsltproc was compiled against libxml 20701, libxslt 10124 and libexslt 813
libxslt 10124 was compiled against libxml 20701
libexslt 813 was compiled against libxml 20701