Opened 6 years ago

Closed 22 months ago

#121 closed defect (wontfix)

bug in rasdl parser

Reported by: dmisev Owned by: dmisev
Priority: minor Milestone: Future
Component: rasdl Version: 8.3
Keywords: Cc: pbaumann, joachim.ungar@…
Complexity: Very Hard

Description (last modified by dmisev)

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/ in

r_Type::getNextToken(char* &pos, char* &identifier)


Drop the problematic type with rasdl, and reinsert the same type with a different name.

Change History (4)

comment:1 Changed 6 years ago by dmisev

  • Description modified (diff)

comment:2 Changed 6 years ago by dmisev

  • Cc joachim.ungar@… added

comment:3 Changed 5 years ago by pbaumann

  • Milestone set to Future
  • Priority changed from major to minor

comment:4 Changed 22 months ago by dmisev

  • Complexity set to Very Hard
  • Resolution set to wontfix
  • Status changed from new to closed

rasdl is deprecated.

Note: See TracTickets for help on using tickets.