diff options
author | Bernard Normier <bernard@zeroc.com> | 2021-01-08 15:55:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-08 15:55:09 -0500 |
commit | cf623fd25b942c4f79d2c156e4cbcb622f061f46 (patch) | |
tree | 11efc86a57808519ce9ec95934cb6f7a7fef6664 /cpp/src/Slice/Scanner.cpp | |
parent | Added libedit (diff) | |
download | ice-cf623fd25b942c4f79d2c156e4cbcb622f061f46.tar.bz2 ice-cf623fd25b942c4f79d2c156e4cbcb622f061f46.tar.xz ice-cf623fd25b942c4f79d2c156e4cbcb622f061f46.zip |
Rename global metadata to local metadata. (#1231)
Fixes #828
Diffstat (limited to 'cpp/src/Slice/Scanner.cpp')
-rw-r--r-- | cpp/src/Slice/Scanner.cpp | 2 |
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 + "'"); } |