Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Adjust regexes to use @?BLOCKPAST dynamic var instead of @?BLOCK global.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 6, 2010
1 parent 42209fb commit 6841519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/PARROT_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
47341
47415
2 changes: 1 addition & 1 deletion src/PAST/Compiler-Regex.pir
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Return the POST representation of the regex AST rooted by C<node>.
.lex '$*REG', reghash

.local pmc regexname, regexname_esc
$P0 = get_global '@?BLOCK'
$P0 = find_dynamic_lex '@*BLOCKPAST'
$P1 = $P0[0]
$S0 = $P1.'name'()
regexname = box $S0
Expand Down

0 comments on commit 6841519

Please sign in to comment.