Skip to content

Commit

Permalink
[CORE.setting] add FatRat and KeyWeight for rodi++
Browse files Browse the repository at this point in the history
[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
lwall committed Jan 19, 2010
1 parent 92ee785 commit 6242460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CORE.setting
Expand Up @@ -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 { }
Expand Down Expand Up @@ -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 { }
Expand Down
2 changes: 1 addition & 1 deletion STD.pm
Expand Up @@ -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> ]?
Expand Down

0 comments on commit 6242460

Please sign in to comment.