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
  • #2217
Closed
Open
Created Nov 24, 2017 by Artem Shinkarov@temaOwner

When use/import does not specify module name, parser fails to produce an error message

Consider the following sac program:

use /* missing */ : {test};

As it can be seen, we accidentally missed the name of the module we are using. The compiler dies, which is correct; but no error message is emitted:

$ sac2c_p y.sac
abort: Failed to construct a syntax tree for `y.sac'
compilation failed while Loading SAC program.

The sac2c version is:

sac2c 1.2-beta-BlackForest-611-g777dc
build-type: RELEASE
built-by: "tema" at 2017-11-23T15:59:10
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking