Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#87 IDL Compiler Bug

closed-fixed
nobody
5
2013-01-12
2013-01-09
brooklyn
No

If an IDL has a comment that ends with **/ the prepocessor throw an unterminated block comment exception. I have modified the TrimComments method as follows
case CommentTrimmerState.AfterStar:
if (c == '/') {
state = CommentTrimmerState.Normal;
} else if (c == '*') {
state = CommentTrimmerState.AfterStar;
} else {
state = CommentTrimmerState.InBlockComment;
}
break;

Please add this change to the code base.

Also, when there is an exception in the prepocessor there is no information in the message to display which file and which line number in the file caused the issue.

Discussion

  • Jens Villadsen
    Jens Villadsen
    2013-01-12

    Fixed added to trunk

     
  • Jens Villadsen
    Jens Villadsen
    2013-01-12

    • status: open --> closed-fixed