2001-06-21 10:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
* contrib/dot/pp.prg
! Changed MatchRule() to set sNextAnchor (for NextExp()) ONLY for NON optional Anchor.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-06-21 10:40 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* contrib/dot/pp.prg
|
||||
! Changed MatchRule() to set sNextAnchor (for NextExp()) ONLY for NON optional Anchor.
|
||||
|
||||
2001-06-21 09:50 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* contrib/dot/pp.prg
|
||||
+ Added explicit support for Extended expression match marker, in NextExp()
|
||||
|
||||
@@ -3342,8 +3342,10 @@ STATIC FUNCTION MatchRule( sKey, sLine, aRules, aResults, bStatement, bUpper )
|
||||
|
||||
ENDIF
|
||||
|
||||
IF nMatch < nMatches
|
||||
IF nMatch < nMatches .AND. aRules[Counter][2][nMatch + 1][2] == 0 // Non Optional ONLY!
|
||||
sNextAnchor := aRules[Counter][2][nMatch + 1][3]
|
||||
ELSE
|
||||
sNextAnchor := NIL
|
||||
ENDIF
|
||||
|
||||
IF bDbgMatch
|
||||
|
||||
Reference in New Issue
Block a user