Permalink
Browse files

[CORE.setting] add FatRat and KeyWeight for rodi++

[STD] have a $name var already, so don't re-extract longname


git-svn-id: http://svn.pugscode.org/pugs@29559 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 92ee785 commit 62424600bdeaeec27c1ca1ad4a0156ce908f491f lwall committed Jan 19, 2010
Showing with 3 additions and 1 deletion.
  1. +2 −0 CORE.setting
  2. +1 −1 STD.pm
View
@@ -36,6 +36,7 @@ my class Hash { }
my class KeyHash { }
my class KeySet { }
my class KeyBag { }
+my class KeyWeight { }
my class Pair { }
my class PairMap { }
my class Enum { }
@@ -113,6 +114,7 @@ my class int64 { }
my role Rational { }
my class Rat { }
+my class FatRat { }
my class rat { }
my class rat8 { }
my class rat16 { }
View
2 STD.pm
@@ -3920,7 +3920,7 @@ grammar P6 is STD {
}
[
|| <?{
- $¢.is_name($<longname>.Str) or substr($<longname>.Str,0,2) eq '::'
+ $¢.is_name($name) or substr($name,0,2) eq '::'
}>
# parametric type?
<.unsp>? [ <?before '['> <postcircumfix> ]?

0 comments on commit 6242460

Please sign in to comment.