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: r1184961 - /incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y
Date Mon, 17 Oct 2011 00:10:35 GMT
Author: marvin
Date: Mon Oct 17 00:10:35 2011
New Revision: 1184961

URL: http://svn.apache.org/viewvc?rev=1184961&view=rev
Log:
Use the parser's current parcel when creating a parameter variable.

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=1184961&r1=1184960&r2=1184961&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/src/CFCParseHeader.y Mon Oct 17 00:10:35
2011
@@ -264,7 +264,8 @@ declarator(A) ::= IDENTIFIER.
 
 param_variable(A) ::= type(B) declarator(C).
 {
-    A = (CFCBase*)CFCVariable_new(NULL, NULL, NULL, NULL, C, (CFCType*)B);
+    A = (CFCBase*)CFCVariable_new(CFCParser_get_parcel(), NULL, NULL, 
+                                  NULL, C, (CFCType*)B);
 }
 
 param_list(A) ::= LEFT_PAREN RIGHT_PAREN.



Mime
View raw message