comparison trunk/src/main.d @ 564:3c867a683258

Fixed VariableDeclaration.semantic().
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Fri, 28 Dec 2007 22:32:32 +0100
parents 0bac0bb506ca
children dd3fe62c8a96
comparison
equal deleted inserted replaced
563:c838ed7f2ac9 564:3c867a683258
42 auto infoMan = new InfoManager(); 42 auto infoMan = new InfoManager();
43 auto filePaths = args[2..$]; 43 auto filePaths = args[2..$];
44 foreach (filePath; filePaths) 44 foreach (filePath; filePaths)
45 { 45 {
46 auto mod = new Module(filePath, infoMan); 46 auto mod = new Module(filePath, infoMan);
47 // Parse the file.
47 mod.parse(); 48 mod.parse();
49 // Start semantic analysis.
50 mod.semantic();
48 } 51 }
49 52
50 foreach (info; infoMan.info) 53 foreach (info; infoMan.info)
51 { 54 {
52 char[] errorFormat; 55 char[] errorFormat;