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 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2128
Closed
Open
Created Jul 10, 2014 by Artem Shinkarov@temaOwner

Parser fails with assertion when the variable is named the same as type

Bugzilla Link 1123
Created on Jul 10, 2014 17:29
Resolution FIXED
Resolved on Jul 10, 2014 21:49
Version svn
OS Linux
Architecture PC

Extended Description

The program that fails:
     1	typedef int[3] rgb;
     2	
     3	rgb sel (int[.] iv, rgb[.,.])
     4	{
     5	}
./t.sac 3:29 error: 
=> token ) cannot start a function argument name
Internal compiler error
Assertion "id" failed at scanparse/parser.c:4709 -- id cannot be NULL here
Please file a bug at: http://bugs.sac-home.org
The problem is that the argument name is missing.
The parser should not hit the assertion.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking