unexpected token: return

Is Proparse known to have issues with nested includes and/or 'many preprocessors'?
I have code that compiles fine, but when I try to Prolint it it gives me "unexpected token: return"
on code like:

if not available bPROG_DICT
then do:
/* Program Definition not found */
{lib/message.i &message={lib/msg/msg001}}
return.
end.

When I preprocess the code Prolint/ProParse have no problems.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
john's picture

Re: unexpected token: return

Hi, no, there aren't any known issues with nested includes or 'many preprocessors' in Proparse.
Would you like to report a new bug in Proparse Project? Please see the notes on that page for Submitting Bug Reports.


chr(26)

It turnes out to be a chr(26) SUB??? on the bottom of the message.i include? No idea where it comes from. When I removed one the unexpected token moved to another line, probably just below another include which also has a chr(26). Hope I can grep on this.

For now case closed.