Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finish s/NQPCursor/NQPMatch/ tranformation
NQPMatch is now both a cursor and a match object. (The name 'NQPCursor' still exists but is an alias to NQPMatch now.) A new method is provided to clone match information for when we need a new NQPMatch identity for operator reductions. (The rakudo compiler also uses this for its old 'AS_MATCH' method.) The )> regex assertion is now passed on the cstack as '$!pos' rather than as '$!to', since at that level NQPMatch is more like a cursor than a match. Now passes all nqp tests again.
- Loading branch information
Showing
5 changed files
with
52 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters