Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
authored December 03, 2009

Showing 2 changed files with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  CORE.setting
  2. 3  STD.pm
3  CORE.setting
@@ -37,6 +37,9 @@ my class KeyHash { }
37 37
 my class KeySet { }
38 38
 my class KeyBag { }
39 39
 my class Pair { }
  40
+my class PairMap { }
  41
+my class Enum { }
  42
+my class EnumMap { }
40 43
 my class List { }
41 44
 my class Seq { }
42 45
 my class Range { }
3  STD.pm
@@ -2515,7 +2515,8 @@ grammar P6 is STD {
2515 2515
           }}>
2516 2516
         ]
2517 2517
         # parametric type?
2518  
-        <.unsp>? [ <?before '['> <postcircumfix> ]?
  2518
+        <.unsp>? [ <?before '['> <param=.postcircumfix> ]?
  2519
+        <.unsp>? [ <?before '{'> <whence=.postcircumfix> ]?
2519 2520
         <.ws> [ 'of' <.ws> <typename> ]?
2520 2521
     }
2521 2522
 

0 notes on commit 7ad02be

Please sign in to comment.
Something went wrong with that request. Please try again.