summaryrefslogtreecommitdiff
path: root/vala/valaforeachstatement.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-03-31 00:31:07 +0200
committerJürg Billeter <j@bitron.ch>2009-03-31 00:31:07 +0200
commit2d4a4a264677b42710914907f63e1624e25e560f (patch)
tree225978f0a2d1ea39fcfc03f551a9bc9da5fbfea1 /vala/valaforeachstatement.vala
parent807fc30d227dacfb819f184e6352e08402c03c36 (diff)
downloadvala-2d4a4a264677b42710914907f63e1624e25e560f.tar.gz
Rework header file generation
Generate single C header file for public API, do not use header files for internal API. Fixes bug 471244, bug 571037, bug 572536, and bug 575629.
Diffstat (limited to 'vala/valaforeachstatement.vala')
-rw-r--r--vala/valaforeachstatement.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/vala/valaforeachstatement.vala b/vala/valaforeachstatement.vala
index f69f38fed..91bbd8580 100644
--- a/vala/valaforeachstatement.vala
+++ b/vala/valaforeachstatement.vala
@@ -1,6 +1,6 @@
/* valaforeachstatement.vala
*
- * Copyright (C) 2006-2008 Jürg Billeter
+ * Copyright (C) 2006-2009 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -278,8 +278,6 @@ public class Vala.ForeachStatement : Block {
return false;
}
- analyzer.current_source_file.add_type_dependency (type_reference, SourceFileDependencyType.SOURCE);
-
element_variable = new LocalVariable (type_reference, variable_name);
body.scope.add (variable_name, element_variable);