Closed Tkrauss closed 11 years ago
If it is not allowed, it is a typo. I will check this a soon as possible and update the example if needed.
Sorry for the trouble, false alarm;). The parser implementation seems to be much smart as i am... . The productions "assign -> loc = assign -> loc = loc = assign -> loc = loc = bool ..." work and all of them are valid.
The issue about the assignment.prog:
The statement "a=b=4" is not a valid statement according to the given grammar, but "a=(b=4); " is. Is this behavior wanted or it is just a typo? what do you mean?