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
  • #1869
Closed
Open
Created Mar 19, 2012 by Robert Bernecky@rbeDeveloper

New parser broken on Build #17761

Bugzilla Link 935
Created on Mar 19, 2012 17:58
Resolution FIXED
Resolved on Apr 21, 2012 20:52
Version svn
OS Linux
Architecture PC
Attachments patch-sac-oper.diff

Extended Description

sac2c dtb.sac -doawlf -nowlf -v4 -O3
WARNING: AWLF is enabled: -ecc enabled.
WARNING: AWLF is enabled: -extrema enabled.
WARNING: AWLF is enabled: -maxoptcyc=20
   
**  1: Loading SAC program ...
  **** Locating source code ...
  Reading from file "./dtb.sac" ...
  **** Running C preprocessor ...
  **** Parsing input file ...
./dtb.sac error:102:17: token `)' expected, `++' token found
./dtb.sac error:102:17: token `;' expected, `++' token found
./dtb.sac error:105:1: token `}' expected, `inline' token found
./dtb.sac error:107:17: token `)' expected, `++' token found
./dtb.sac error:107:17: token `;' expected, `++' token found
./dtb.sac error:110:1: token `}' expected, `inline' token found
./dtb.sac error:160:18: binary function expected
./dtb.sac error:250:24: token `;' expected, `++' token found
note: finished parsing.
note: 8 error(s) found.
ABORT: Failed to construct a syntax tree for `dtb.sac'
Here's the offending line:
 return(toI(x)++[toI(y)]);
And...
#define toI(x) toi((x))
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking