[svn:parrot] r38304 - in branches/pmc_pct/compilers/pmc: src/parser t t/data

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Apr 24 14:06:11 UTC 2009


Author: bacek
Date: Fri Apr 24 14:06:10 2009
New Revision: 38304
URL: https://trac.parrot.org/parrot/changeset/38304

Log:
Add dynpmc traits

Added:
   branches/pmc_pct/compilers/pmc/t/data/class21.pmc
Modified:
   branches/pmc_pct/compilers/pmc/src/parser/grammar.pg
   branches/pmc_pct/compilers/pmc/t/01-parse.t

Modified: branches/pmc_pct/compilers/pmc/src/parser/grammar.pg
==============================================================================
--- branches/pmc_pct/compilers/pmc/src/parser/grammar.pg	Fri Apr 24 13:45:47 2009	(r38303)
+++ branches/pmc_pct/compilers/pmc/src/parser/grammar.pg	Fri Apr 24 14:06:10 2009	(r38304)
@@ -46,6 +46,7 @@
     | 'abstract'
     | 'no_init'
     | 'singleton'
+    | 'dynpmc'
     ]
 }
 

Modified: branches/pmc_pct/compilers/pmc/t/01-parse.t
==============================================================================
--- branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 13:45:47 2009	(r38303)
+++ branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 14:06:10 2009	(r38304)
@@ -5,7 +5,7 @@
 .include 'test_more.pir'
 load_bytecode 'compilers/pmc/pmc.pbc'
     .local int total
-    total = 21
+    total = 22
 
     plan(total)
     test_parse(total)

Added: branches/pmc_pct/compilers/pmc/t/data/class21.pmc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/pmc_pct/compilers/pmc/t/data/class21.pmc	Fri Apr 24 14:06:10 2009	(r38304)
@@ -0,0 +1,2 @@
+pmclass Pair dynpmc need_ext {
+}


More information about the parrot-commits mailing list