abaplint / transpiler

ABAP to JS transpiler & runtime
https://transpiler.abaplint.org
MIT License
83 stars 23 forks source link

ENHANCEMENT-POINT not implemented - breaks transpilation #1464

Closed joltdx closed 3 weeks ago

joltdx commented 3 weeks ago

ENHANCEMENT-POINT is not implemented and currently breaks transpilation...

WRITE 'foo'.
ENHANCEMENT-POINT foo SPOTS bar.
WRITE 'bar'.

Error: Statement EnhancementPoint not supported, ENHANCEMENT-POINT foo SPOTS bar.

image

joltdx commented 3 weeks ago

I don't think I can manage implementing the full functional thing, but I can implement something that does nothing, to avoid breaking transpilation?

larshp commented 3 weeks ago

yea, feel free to do something like https://github.com/abaplint/transpiler/blob/main/packages/transpiler/src/statements/log_point.ts

perhaps have it output a ABAP comment with the name of the point and spot

image