2002-03-07 Mike Kestner <mkestner@speakeasy.net>
* generator/CodeGenerator.cs : Refactor generatable iteration. * generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values. svn path=/trunk/gtk-sharp/; revision=3008
This commit is contained in:
parent
7c31e5f7cb
commit
95d51167de
3 changed files with 10 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-03-07 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* generator/CodeGenerator.cs : Refactor generatable iteration.
|
||||
* generator/SymbolTable.cs : Add Generatables property to expose complex_types.Values.
|
||||
|
||||
2002-03-02 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* makefile : add linux build.
|
||||
|
|
|
@ -23,9 +23,7 @@ namespace GtkSharp.Generation {
|
|||
SymbolTable table = p.Parse ();
|
||||
Console.WriteLine (table.Count + " types parsed.");
|
||||
|
||||
IDictionaryEnumerator de = table.GetEnumerator();
|
||||
while (de.MoveNext()) {
|
||||
IGeneratable gen = (IGeneratable) de.Value;
|
||||
foreach (IGeneratable gen in table.Generatables) {
|
||||
gen.Generate (table);
|
||||
}
|
||||
|
||||
|
|
|
@ -84,9 +84,10 @@ namespace GtkSharp.Generation {
|
|||
}
|
||||
}
|
||||
|
||||
public IDictionaryEnumerator GetEnumerator()
|
||||
{
|
||||
return complex_types.GetEnumerator();
|
||||
public IEnumerable Generatables {
|
||||
get {
|
||||
return complex_types.Values;
|
||||
}
|
||||
}
|
||||
|
||||
private String Trim(String type)
|
||||
|
|
Loading…
Reference in a new issue