[svn:parrot] r38314 - 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:48:56 UTC 2009


Author: bacek
Date: Fri Apr 24 14:48:55 2009
New Revision: 38314
URL: https://trac.parrot.org/parrot/changeset/38314

Log:
Add no_ro traits

Added:
   branches/pmc_pct/compilers/pmc/t/data/class23.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 14:43:07 2009	(r38313)
+++ branches/pmc_pct/compilers/pmc/src/parser/grammar.pg	Fri Apr 24 14:48:55 2009	(r38314)
@@ -49,6 +49,7 @@
     | 'no_init'
     | 'singleton'
     | 'dynpmc'
+    | 'no_ro'
     ]
 }
 

Modified: branches/pmc_pct/compilers/pmc/t/01-parse.t
==============================================================================
--- branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 14:43:07 2009	(r38313)
+++ branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 14:48:55 2009	(r38314)
@@ -5,7 +5,7 @@
 .include 'test_more.pir'
 load_bytecode 'compilers/pmc/pmc.pbc'
     .local int total
-    total = 23
+    total = 24
 
     plan(total)
     test_parse(total)

Added: branches/pmc_pct/compilers/pmc/t/data/class23.pmc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/pmc_pct/compilers/pmc/t/data/class23.pmc	Fri Apr 24 14:48:55 2009	(r38314)
@@ -0,0 +1,3 @@
+pmclass Undef no_ro {
+}
+


More information about the parrot-commits mailing list