DescriptionReafactored Lexer class to allow chaining. The full chain when parsing #if directive looks like this: Preprocessor -> MacroExpander -> DirectiveHandler -> MacroExpander -> DefinedFilter -> Tokenizer. This chain dynamically changes depending on the current context.
Also added an incomplete implementation of #if handling and ExpressionParser to illustrate how this design is supposed to work.
Committed: https://code.google.com/p/angleproject/source/detail?r=1084
Patch Set 1 #Patch Set 2 : #
Total comments: 5
Patch Set 3 : #MessagesTotal messages: 4
|