Unexpected token proc-status

Receiving error "... unexpected token proc-status ... rule proparse" when linting a file containing a temp-table with a field named "PROC-STATUS".

The keyword forget-list for the session is set up with PROC-STATUS.

The file compiles successfully with a straight compile from the editor.

How do I get past this? Unfortunately removing PROC-STATUS from the definition is not an option.


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 proc-status

Hi Lee, can you tell us which version of Proparse you are using? Also, we'll need the line(s) of code which caused the parse error.


Re: Unexpected token proc-status

John,

The install file is proparse_3.1c02.exe. Does that give you you need? If not let me know where to look.

The offending code is in an include defining a temp-table:
def temp-table ttInvoice no-undo rcode-information
...
field proc-stage as char label "PROC STAGE" format "x"
field proc-status as char extent 9 label "PROCESSING STATUS" format "x"
field territory as char label "TERRITORY" format "x(8)"
...

Thanks for the reply,
Lee


john's picture

Re: Unexpected token proc-status

I'm afraid that the old proparse.dll is no longer supported. An upgrade to the new Proparse.Net (free, open source) is required.

What version of OpenEdge are you using?

I hope you will find that upgrading Proparse to the latest and greatest is not too difficult.

As always, Proparse's home page is www.joanju.com/proparse. There you can find Proparse.Net along with some basic instructions.

Regards,
John