Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e0ac3ab
)
THRIFT-133. fix a small bug with smalltalk.prefix and smalltalk.package namespaces.
author
Bryan Duxbury
<bryanduxbury@apache.org>
Thu, 29 Jul 2010 18:39:06 +0000
(18:39 +0000)
committer
Bryan Duxbury
<bryanduxbury@apache.org>
Thu, 29 Jul 2010 18:39:06 +0000
(18:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@980538
13f79535
-47bb-0310-9956-
ffa450edef68
compiler/cpp/src/parse/t_program.h
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/parse/t_program.h
b/compiler/cpp/src/parse/t_program.h
index
420242f
..
68697c6
100644
(file)
--- a/
compiler/cpp/src/parse/t_program.h
+++ b/
compiler/cpp/src/parse/t_program.h
@@
-166,7
+166,9
@@
class t_program : public t_doc {
it=my_copy.find(language);
if (it == my_copy.end()) {
- throw "No generator named '" + language + "' could be found!";
+ if (language != "smalltalk.prefix" && language != "smalltalk.package") {
+ throw "No generator named '" + language + "' could be found!";
+ }
}
namespaces_[language] = name_space;
}