Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[CORE.setting] add EnumMap and PairMap

[STD] typename should slurp up whence closure


git-svn-id: http://svn.pugscode.org/pugs@29253 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
commit 7ad02be54ed658a78b324712e6d6f2b4d3180912 1 parent b44364e
lwall authored
Showing with 5 additions and 1 deletion.
  1. +3 −0  CORE.setting
  2. +2 −1  STD.pm
View
3  CORE.setting
@@ -37,6 +37,9 @@ my class KeyHash { }
my class KeySet { }
my class KeyBag { }
my class Pair { }
+my class PairMap { }
+my class Enum { }
+my class EnumMap { }
my class List { }
my class Seq { }
my class Range { }
View
3  STD.pm
@@ -2515,7 +2515,8 @@ grammar P6 is STD {
}}>
]
# parametric type?
- <.unsp>? [ <?before '['> <postcircumfix> ]?
+ <.unsp>? [ <?before '['> <param=.postcircumfix> ]?
+ <.unsp>? [ <?before '{'> <whence=.postcircumfix> ]?
<.ws> [ 'of' <.ws> <typename> ]?
}
Please sign in to comment.
Something went wrong with that request. Please try again.