projects
/
platform
/
core
/
appfw
/
tidl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc591e
)
Remove slash from namespace
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 16 Jan 2020 04:53:45 +0000
(13:53 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 29 Jan 2020 02:16:44 +0000
(11:16 +0900)
Currently, if the output string has slash, the namespace has slash('/').
This patch fixes it.
Change-Id: I7e57347a18dfabd8a109359193b811190549a65f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/gen/generator.cc
patch
|
blob
|
history
diff --git
a/idlc/gen/generator.cc
b/idlc/gen/generator.cc
index 19bcc0bcdbe08517852d75bd2b847376428de138..2f04cf09aeed82cbf689fd3413357652bdf92239 100644
(file)
--- a/
idlc/gen/generator.cc
+++ b/
idlc/gen/generator.cc
@@
-68,6
+68,8
@@
std::string Generator::GetFileNamespace() const {
p2 = 0;
if (p1 == std::string::npos)
p1 = 0;
+ else
+ p1++;
return FileName.substr(p1, p2 - p1);
}