pparser,pastree: bug fix
Original Reporter info from Mantis: gvs
-
Reporter name:
Original Reporter info from Mantis: gvs
- Reporter name:
Description:
diffs to 15981
ppasrser:
this should fix:
TPasImplIfElse.AddElement BUG -> and while, raise, inherited call in if-else
TPasImplWhileDo.AddElement BUG -> and math 'a op b' not to be split:
eg. 'a+b' was split to 'a' and '+b' = 2 elements instead of one
missing AddElement(Result) in
TPasImplBlock.AddAssign and TPasImplBlock.AddSimple
'..' was evaluated to late
@Function and (SELF) statement
pastree:
new implements : TPasImplInherited class
Additional information:
test succeeded with parsing units: pparser.pp, pscanner.pp, pastree.pp
up to now my test-program is focused to implementation-part and output looks
good
still ugly:
case-else does add the complete else-part in case-part as last element
while-do, with-do: body is always empty, data is in TPasImplBlock.Elements
Mantis conversion info:
- Mantis ID: 17543
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 17079 (#7b8c319e)