summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Scanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Scanner.cpp')
-rw-r--r--cpp/src/Slice/Scanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Scanner.cpp b/cpp/src/Slice/Scanner.cpp
index f9bb314f518..c56cd86a529 100644
--- a/cpp/src/Slice/Scanner.cpp
+++ b/cpp/src/Slice/Scanner.cpp
@@ -2524,7 +2524,7 @@ int checkIdentifier(string& id)
{
DefinitionContextPtr dc = unit->currentDefinitionContext();
assert(dc);
- if(dc->findMetaData("underscore") != "underscore") // no 'underscore' global metadata
+ if(dc->findMetaData("underscore") != "underscore") // no 'underscore' file metadata
{
unit->error("illegal underscore in identifier `" + name + "'");
}