comparison trunk/src/dil/semantic/Pass1.d @ 747:00f872d949ea

Added method scanCommentText() to DDocEmitter. Added method writeParams() and scanCodeSection(). Added method scanMacro() to MacroParser. Made fixes and improvements to the MacroExpander. Applied other minor fixes.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Mon, 11 Feb 2008 03:15:45 +0100
parents 7917811f8116
children 8caf18892c1b
comparison
equal deleted inserted replaced
746:32a8ddd330f8 747:00f872d949ea
24 import dil.Enums; 24 import dil.Enums;
25 import dil.CompilerInfo; 25 import dil.CompilerInfo;
26 import common; 26 import common;
27 27
28 /++ 28 /++
29 The fist pass is the declaration pass. 29 The first pass is the declaration pass.
30
30 The basic task of this class is to traverse the parse tree, 31 The basic task of this class is to traverse the parse tree,
31 find all kinds of declarations and add them 32 find all kinds of declarations and add them
32 to the symbol tables of their respective scopes. 33 to the symbol tables of their respective scopes.
33 +/ 34 +/
34 class SemanticPass1 : Visitor 35 class SemanticPass1 : Visitor