[svn:parrot] r43527 - branches/tt389_fix/t/compilers/tge
tene at svn.parrot.org
tene at svn.parrot.org
Thu Jan 21 07:48:02 UTC 2010
Author: tene
Date: Thu Jan 21 07:48:01 2010
New Revision: 43527
URL: https://trac.parrot.org/parrot/changeset/43527
Log:
[tge] Fix another test
Modified:
branches/tt389_fix/t/compilers/tge/parser.t
Modified: branches/tt389_fix/t/compilers/tge/parser.t
==============================================================================
--- branches/tt389_fix/t/compilers/tge/parser.t Thu Jan 21 07:39:44 2010 (r43526)
+++ branches/tt389_fix/t/compilers/tge/parser.t Thu Jan 21 07:48:01 2010 (r43527)
@@ -43,7 +43,8 @@
# Match against the source
.local pmc match
.local pmc start_rule
- start_rule = get_global ['TGE';'Parser'], "start"
+ $P0 = get_global ['TGE'], 'Parser'
+ start_rule = find_method $P0, "start"
match = start_rule(source)
# Verify the match
@@ -72,7 +73,8 @@
GRAMMAR
.local pmc match
.local pmc start_rule
- start_rule = get_global ['TGE';'Parser'], "start"
+ $P0 = get_global ['TGE'], 'Parser'
+ start_rule = find_method $P0, "start"
match = start_rule(source, 'grammar'=>'TGE::Parser') # should throw.
.end
CODE
More information about the parrot-commits
mailing list