diff options
Diffstat (limited to 'gcc/d/dmd/cppmangle.c')
-rw-r--r-- | gcc/d/dmd/cppmangle.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/d/dmd/cppmangle.c b/gcc/d/dmd/cppmangle.c index bb919a5..d2d3576 100644 --- a/gcc/d/dmd/cppmangle.c +++ b/gcc/d/dmd/cppmangle.c @@ -21,9 +21,7 @@ * enter `C++, mangling` as the keywords. */ -#include <stdio.h> -#include <string.h> -#include <assert.h> +#include "root/dsystem.h" #include "mars.h" #include "dsymbol.h" @@ -47,9 +45,9 @@ class CppMangleVisitor : public Visitor { Objects components; // array of components available for substitution OutBuffer *buf; // append the mangling to buf[] + public: Loc loc; // location for use in error messages - public: // Write <seq-id> to buf void write_seq_id(size_t i) { |