diff options
author | Mark Spruiell <mes@zeroc.com> | 2001-11-09 22:54:56 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2001-11-09 22:54:56 +0000 |
commit | e294fcd410492c211c6c883d9c0bb4dea383688a (patch) | |
tree | 356e40ab0207b66ede92e81aa34636c1bee0b192 /cpp/src/slice2java/Gen.h | |
parent | bug fix (diff) | |
download | ice-e294fcd410492c211c6c883d9c0bb4dea383688a.tar.bz2 ice-e294fcd410492c211c6c883d9c0bb4dea383688a.tar.xz ice-e294fcd410492c211c6c883d9c0bb4dea383688a.zip |
detect and fix Java keywords
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r-- | cpp/src/slice2java/Gen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h index dba800d4eed..b7c92e106c9 100644 --- a/cpp/src/slice2java/Gen.h +++ b/cpp/src/slice2java/Gen.h @@ -38,6 +38,12 @@ protected: Output& output() const; // + // Check a symbol against any of the Java keywords. If a + // match is found, return the symbol with a leading underscore. + // + std::string fixKwd(const std::string&) const; + + // // Convert a scoped name into a Java class name. If an optional // scope is provided, the scope will be removed from the result. // |