lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] svn commit: r1179050 - in /incubator/lucy/branches/clownfish_lemon/clownfish: lib/Clownfish/Parser.pm t/600-parser.t
Date Wed, 05 Oct 2011 04:37:16 GMT
Author: marvin
Date: Wed Oct  5 04:37:16 2011
New Revision: 1179050

URL: http://svn.apache.org/viewvc?rev=1179050&view=rev
Log:
Remove some parser productions which were only needed for testing.

Modified:
    incubator/lucy/branches/clownfish_lemon/clownfish/lib/Clownfish/Parser.pm
    incubator/lucy/branches/clownfish_lemon/clownfish/t/600-parser.t

Modified: incubator/lucy/branches/clownfish_lemon/clownfish/lib/Clownfish/Parser.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/lib/Clownfish/Parser.pm?rev=1179050&r1=1179049&r2=1179050&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/lib/Clownfish/Parser.pm (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/lib/Clownfish/Parser.pm Wed Oct  5 04:37:16
2011
@@ -218,21 +218,6 @@ variable_modifier:
       'inert'
     { $item[1] }
 
-type_specifier:
-    (    object_type_specifier 
-       | primitive_type_specifier
-       | void_type_specifier
-       | va_list_type_specifier
-       | arbitrary_type_specifier
-    ) 
-    { $item[1] }
-
-primitive_type_specifier:
-      chy_integer_specifier
-    | c_integer_specifier 
-    | c_float_specifier 
-    { $item[1] }
-
 chy_integer_specifier:
     /(?:chy_)?(bool)_t(?!\w)/
 

Modified: incubator/lucy/branches/clownfish_lemon/clownfish/t/600-parser.t
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/t/600-parser.t?rev=1179050&r1=1179049&r2=1179050&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/t/600-parser.t (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/t/600-parser.t Wed Oct  5 04:37:16 2011
@@ -16,7 +16,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 116;
+use Test::More tests => 107;
 
 BEGIN { use_ok('Clownfish::Parser') }
 
@@ -54,9 +54,6 @@ is( $parser->chy_integer_specifier($_), 
 is( $parser->object_type_specifier($_), $_, "object_type_specifier $_" )
     for qw( ByteBuf Obj ANDMatcher );
 
-is( $parser->type_specifier($_), $_, "type_specifier $_" )
-    for qw( uint32_t char int short long float double void ANDMatcher );
-
 is( $parser->type_qualifier($_), $_, "type_qualifier $_" ) for qw( const );
 
 is( $parser->exposure_specifier($_), $_, "exposure_specifier $_" )



Mime
View raw message