Opened 12 years ago
Closed 12 years ago
#2115 closed defect (fixed)
Change annotation abstract syntax format to MSL 3.1
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Parser | Version: | trunk |
Keywords: | Cc: |
Description
Class annotation are no longer allowed in element lists, algorithm/equation sections. Only at the end of the class.
Change History (3)
comment:1 by , 12 years ago
Status: | new → accepted |
---|
comment:2 by , 12 years ago
Oh yeah, and remove list<SCode.Annotation> from SCode.PARTS, SCode.CLASS_EXTENDS (follows from removing them from being parsed into elements and algorithm/equation sections).
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in r15922 (well, we put them all at the end; next step is adding error-messages).
Note:
See TracTickets
for help on using tickets.
SCode, Option<Comment> mostly changed to Comment. CLASS_COMMENT removed (only COMMENT left). Moved Comment from PARTS, etc into CLASS (since all of them have comments and/or annotations).
Absyn: adding the annotation to the PARTS and CLASS_EXTENDS. Removing it from equation, algorithm and elements.
Might restructure ElementItem to simple be an Element (would simplify traversing the Absyn). Same for Equations and Algorithms.