Skip to content

parser descends all includes before parsing any code #21

Description

@Telcrome

Consider two files:

symboldefinition.gpp:
symbol domain Animals = { TIGER, ELEPHANT }

main.gpp:

#include "symboldefinition.gpp"

action feed_animal(symbol animal) {
  domain animal in Animal // <<<< problematic with outside defined domains
  [...]
}

Will add a tested example and edit the issue next tuesday. Also the output might be interesting, because the error message did not immediately help us find the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingparser

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions