diff options
author | Michi Henning <michi@zeroc.com> | 2003-02-07 01:09:34 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2003-02-07 01:09:34 +0000 |
commit | 3587a45817f12fc06d4664cd1c6ed3c4933d6526 (patch) | |
tree | 2690b1e0eec2c10f7e3e728127889737adc2c26a /cpp/src/Slice/Scanner.l | |
parent | Changed Java mapping for Operations interface. Interface Foo now creates (diff) | |
download | ice-3587a45817f12fc06d4664cd1c6ed3c4933d6526.tar.bz2 ice-3587a45817f12fc06d4664cd1c6ed3c4933d6526.tar.xz ice-3587a45817f12fc06d4664cd1c6ed3c4933d6526.zip |
Underscores in Slice identifiers now create an error instead of a warning.
Diffstat (limited to 'cpp/src/Slice/Scanner.l')
-rw-r--r-- | cpp/src/Slice/Scanner.l | 2 |
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" }; |