You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/10/15 23:19:24 UTC

[lucy-commits] svn commit: r1183720 - /incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y

Author: marvin
Date: Sat Oct 15 21:19:24 2011
New Revision: 1183720

URL: http://svn.apache.org/viewvc?rev=1183720&view=rev
Log:
Remove vestigial current_parcel var from Lemon file.

Modified:
    incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y

Modified: incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y?rev=1183720&r1=1183719&r2=1183720&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y Sat Oct 15 21:19:24 2011
@@ -32,8 +32,6 @@
   #define false 0
 #endif
 
-static CFCParcel *current_parcel = NULL;
-
 static const char KW_INT8_T[]   = "int8_t";
 static const char KW_INT16_T[]  = "int16_t";
 static const char KW_INT32_T[]  = "int32_t";
@@ -144,7 +142,8 @@ va_list_type(A) ::= va_list_specifier.
 
 arbitrary_type(A) ::= ARBITRARY.
 {
-    A = (CFCBase*)CFCType_new_arbitrary(current_parcel, CFCParser_current_state->text);
+    A = (CFCBase*)CFCType_new_arbitrary(CFCParser_get_parcel(),
+                                        CFCParser_current_state->text);
 }
 
 object_type(A) ::= object_type_specifier(B) ASTERISK.