Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1700
Closed
Open
Created Oct 06, 2010 by Jing Guo@jgoGuest

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking