You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at com.joanju.proparse.ProParser.blockorstate(ProParser.java:568)
at com.joanju.proparse.ProParser.program(ProParser.java:120)
at com.joanju.proparse.DoParse.doParse(DoParse.java:202)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:270)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
@DanielBaciu Note that this issue (and the other ones that have been reported the same day) are already fixed in the sonar-openedge implementation of Proparse.
When there is a preprocessor between block level and block itself poparse generates an error.
Code:
ROUTE-BLOCK:
{&proparse prolint-nowarn(use-index)}
do:
.
end.
Error parsing blockLabel.p
Original Exception: unexpected token: ROUTE-BLOCK
C:\Analiza\Parse issue 15_bloc_label\blockLabel.p:2:3: unexpected token: ROUTE-BLOCK
at com.joanju.proparse.ProParser.blockorstate(ProParser.java:568)
at com.joanju.proparse.ProParser.program(ProParser.java:120)
at com.joanju.proparse.DoParse.doParse(DoParse.java:202)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:270)
at org.prorefactor.treeparser.ParseUnit.parse(ParseUnit.java:226)
at org.prorefactor.treeparser.ParseUnit.treeParser01(ParseUnit.java:348)
at cli.Progress.ClrBridge.ClrApi.InvokeMethod(Unknown Source)
blockLabel.zip
The text was updated successfully, but these errors were encountered: