"Failure: bug" when trying to assign a value to a macro in a lexicon
When compiling this file example-bug-macro.acg, acgc
throws this uncaught exception :
Parsing "deep-syntactic.acg"...
acgc: internal error, uncaught exception:
Failure("Bug: Trying to add a rule that does not correspond to a constant")
The error is at line 17 in the lexicon, because we try to assign a value to a macro (defined in a signature at line 5).