summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/Scanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Scanner.l b/cpp/src/Slice/Scanner.l
index e52748f4293..aecae7775f9 100644
--- a/cpp/src/Slice/Scanner.l
+++ b/cpp/src/Slice/Scanner.l
@@ -403,7 +403,7 @@ checkIdentifier(const string& id)
{
if(id.find('_') != string::npos)
{
- unit->warning("illegal underscore in identifier `" + id + "'");
+ unit->error("illegal underscore in identifier `" + id + "'");
}
static const string suffixBlacklist[] = { "Helper", "Holder", "Prx", "Ptr" };