Opened 13 years ago
Closed 9 years ago
#121 closed defect (wontfix)
bug in rasdl parser
Reported by: | Dimitar Misev | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | minor | Milestone: | Future |
Component: | rasdl | Version: | 8.3 |
Keywords: | Cc: | Peter Baumann, joachim.ungar@… | |
Complexity: | Very Hard |
Description (last modified by )
Identifiers in rasdl definitions which start with reserved words (like char, octet, marray, etc.) fail to parse correctly. For example:
struct RGNSPixel { octet octetred, octetgreen, octetnir, octetswir; };
will fail with a
r_Type::getStructureType(red, octet octetgreen, octet octetnir, octet octetswir }, 0) expected DLRCP or DLCOMMA Error: 100 Exception: Internal error: DL parse error.
The code to be fixed is in raslib/type.cc in
r_Type::DLTOKEN r_Type::getNextToken(char* &pos, char* &identifier)
Workaround
Drop the problematic type with rasdl, and reinsert the same type with a different name.
Change History (4)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
Cc: | added |
---|
comment:3 by , 12 years ago
Milestone: | → Future |
---|---|
Priority: | major → minor |
comment:4 by , 9 years ago
Complexity: | → Very Hard |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
rasdl is deprecated.