Mercurial > projects > dang
diff basic/Message.d @ 93:621cedba53ea new_gen
Removed the Symbol from semantics - it was not needed anymore. From now on you set the type by doing a setType on an Identifier.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 05 May 2008 20:53:13 +0200 |
parents | 771ac63898e2 |
children | 5f258eaf9517 |
line wrap: on
line diff
--- a/basic/Message.d Mon May 05 18:44:20 2008 +0200 +++ b/basic/Message.d Mon May 05 20:53:13 2008 +0200 @@ -11,8 +11,7 @@ import lexer.Token, lexer.Lexer, - sema.DType, - sema.Symbol; + sema.DType; import basic.SourceLocation, basic.SourceManager; @@ -149,11 +148,6 @@ return arg(res); } - Message arg(Symbol sym) - { - return arg(sym.type.name ~ " " ~ sym.id.get); - } - Message fatal(ExitLevel exitlevel = ExitLevel.Normal) { msg_handler.checkErrors(exitlevel);