summaryrefslogtreecommitdiff
path: root/src/parse/parseerror.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2016-06-04 15:08:50 +0800
committerJohn Hodge <tpg@ucc.asn.au>2016-06-04 15:08:50 +0800
commitf36518ed2fb6444884f991bcd6c8e0c3acd47beb (patch)
tree9ac3092f488192aba16e2ce1f4f160b98cd16ec0 /src/parse/parseerror.cpp
parentf92a45d8054cc18a037449ec136bf874ce20fc5a (diff)
downloadmrust-f36518ed2fb6444884f991bcd6c8e0c3acd47beb.tar.gz
Compilation fixes (clang and different gcc version)
Diffstat (limited to 'src/parse/parseerror.cpp')
-rw-r--r--src/parse/parseerror.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse/parseerror.cpp b/src/parse/parseerror.cpp
index 7c6f6a21..116776a5 100644
--- a/src/parse/parseerror.cpp
+++ b/src/parse/parseerror.cpp
@@ -47,8 +47,7 @@ CompileError::Todo::~Todo() throw()
{
}
-ParseError::BadChar::BadChar(const TokenStream& lex, char character):
- m_char(character)
+ParseError::BadChar::BadChar(const TokenStream& lex, char character)
{
::std::cout << lex.getPosition() << ": BadChar(" << character << ")" << ::std::endl;
}