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/19 21:56:25 UTC

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

Author: marvin
Date: Wed Oct 19 19:56:25 2011
New Revision: 1186435

URL: http://svn.apache.org/viewvc?rev=1186435&view=rev
Log:
Default variable exposure to NULL (which will be interpreted as "local" by
CFCVariable_new()) rather than "parcel".

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=1186435&r1=1186434&r2=1186435&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y Wed Oct 19 19:56:25 2011
@@ -144,7 +144,7 @@ parcel_definition(A) ::= exposure_specif
 var_declaration_statement(A) ::= 
     type(D) declarator(E) SEMICOLON.
 {
-    A = S_new_var(state, "parcel", NULL, D, E);
+    A = S_new_var(state, NULL, NULL, D, E);
 }
 var_declaration_statement(A) ::= 
     exposure_specifier(B)
@@ -156,7 +156,7 @@ var_declaration_statement(A) ::= 
     declaration_modifier_list(C)
     type(D) declarator(E) SEMICOLON.
 {
-    A = S_new_var(state, "parcel", C, D, E);
+    A = S_new_var(state, NULL, C, D, E);
 }
 var_declaration_statement(A) ::= 
     exposure_specifier(B)