Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ON Statement issues #83

Closed
eglekaz opened this issue Sep 23, 2024 · 2 comments
Closed

ON Statement issues #83

eglekaz opened this issue Sep 23, 2024 · 2 comments

Comments

@eglekaz
Copy link

eglekaz commented Sep 23, 2024

  1. Keyword NEW is parsed as NE and W.
  2. Keyword OLD is causing an error.

Example:

ON WRITE OF Customer NEW new-cust OLD old-cust DO:
     a += 3.
END.

Reference:
https://documentation.progress.com/output/ua/OpenEdge_latest/pdsoe/PLUGINS_ROOT/com.openedge.pdt.langref.help/rfi1424920563735.html

@jkbz64
Copy link
Member

jkbz64 commented Sep 27, 2024

3397350 fixed only issue .2, first one is a duplicate of #53

@jkbz64
Copy link
Member

jkbz64 commented Sep 27, 2024

note that on_statement is still not fully implemented, would need more examples of complicated ones, OR's and revert blocks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants