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

bacek at svn.parrot.org bacek at svn.parrot.org
Fri Apr 24 13:45:09 UTC 2009


Author: bacek
Date: Fri Apr 24 13:45:08 2009
New Revision: 38301
URL: https://trac.parrot.org/parrot/changeset/38301

Log:
Add abstract and no_init traits

Added:
   branches/pmc_pct/compilers/pmc/t/data/class19.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:21:44 2009	(r38300)
+++ branches/pmc_pct/compilers/pmc/src/parser/grammar.pg	Fri Apr 24 13:45:08 2009	(r38301)
@@ -43,6 +43,8 @@
     | 'extends' <identifier>
     | 'provides' <identifier>
     | 'need_ext'
+    | 'abstract'
+    | 'no_init'
     ]
 }
 

Modified: branches/pmc_pct/compilers/pmc/t/01-parse.t
==============================================================================
--- branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 13:21:44 2009	(r38300)
+++ branches/pmc_pct/compilers/pmc/t/01-parse.t	Fri Apr 24 13:45:08 2009	(r38301)
@@ -5,7 +5,7 @@
 .include 'test_more.pir'
 load_bytecode 'compilers/pmc/pmc.pbc'
     .local int total
-    total = 19
+    total = 20
 
     plan(total)
     test_parse(total)

Added: branches/pmc_pct/compilers/pmc/t/data/class19.pmc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/pmc_pct/compilers/pmc/t/data/class19.pmc	Fri Apr 24 13:45:08 2009	(r38301)
@@ -0,0 +1,2 @@
+pmclass default abstract no_init {
+}


More information about the parrot-commits mailing list