abaplint / transpiler

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

ENHANCEMENT-POINT not implemented - breaks transpilation #1464

Closed joltdx closed 2 months ago

joltdx commented 2 months 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 2 months 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 2 months 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