Mercurial > projects > ldc
diff dmd/attrib.c @ 663:6aaa3d3c1183
First part of rename to LDC.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 06 Oct 2008 22:46:55 +0200 |
parents | 50383e476c7e |
children | 20a5180f2e80 |
line wrap: on
line diff
--- a/dmd/attrib.c Mon Oct 06 21:40:33 2008 +0200 +++ b/dmd/attrib.c Mon Oct 06 22:46:55 2008 +0200 @@ -828,7 +828,7 @@ } #endif -// LLVMDC +// LDC #if IN_LLVM // pragma(intrinsic, "string") { funcdecl(s) } @@ -921,8 +921,8 @@ llvm_internal = LLVMva_arg; } - // pragma(llvmdc, "string") { templdecl(s) } - else if (ident == Id::llvmdc) + // pragma(ldc, "string") { templdecl(s) } + else if (ident == Id::ldc) { Expression* expr = (Expression *)args->data[0]; expr = expr->semantic(sc); @@ -942,7 +942,7 @@ } } -#endif // LLVMDC +#endif // LDC else if (global.params.ignoreUnsupportedPragmas) { @@ -982,14 +982,14 @@ s->semantic(sc); -// LLVMDC +// LDC #if IN_LLVM if (llvm_internal) { if (s->llvmInternal) { - error("multiple LLVMDC specific pragmas not allowed not affect the same declaration ('%s' at '%s')", s->toChars(), s->loc.toChars()); + error("multiple LDC specific pragmas not allowed not affect the same declaration ('%s' at '%s')", s->toChars(), s->loc.toChars()); fatal(); } switch(llvm_internal) @@ -1070,11 +1070,11 @@ break; default: - warning("the LLVMDC specific pragma '%s' is not yet implemented, ignoring", ident->toChars()); + warning("the LDC specific pragma '%s' is not yet implemented, ignoring", ident->toChars()); } } -#endif // LLVMDC +#endif // LDC } }