Mercurial > projects > dang
diff misc/Error.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 | eb5b2c719a39 |
children |
line wrap: on
line diff
--- a/misc/Error.d Mon May 05 18:44:20 2008 +0200 +++ b/misc/Error.d Mon May 05 20:53:13 2008 +0200 @@ -7,8 +7,7 @@ import llvm.type; import lexer.Token, - sema.DType, - sema.Symbol; + sema.DType; class Error : Exception { @@ -100,11 +99,6 @@ return arg(res); } - Error arg(Symbol sym) - { - return arg(sym.type.name ~ " " ~ sym.id.get); - } - /* Error loc(Location loc) {