1 |
commit: 37b99d0aabacec4ee882b346dfcefb1abb183f57 |
2 |
Author: Mu Qiao <qiaomuf <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 5 11:33:34 2011 +0000 |
4 |
Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 11:33:34 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=37b99d0a |
7 |
|
8 |
Add comment for do_default_expansion |
9 |
|
10 |
--- |
11 |
src/core/interpreter.h | 4 ++++ |
12 |
1 files changed, 4 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/src/core/interpreter.h b/src/core/interpreter.h |
15 |
index 340828a..c0cc12d 100644 |
16 |
--- a/src/core/interpreter.h |
17 |
+++ b/src/core/interpreter.h |
18 |
@@ -415,6 +415,10 @@ public: |
19 |
members.define(target); |
20 |
} |
21 |
|
22 |
+ /// \brief perform ${parameter:−word} expansion |
23 |
+ /// \param the name of the parameter |
24 |
+ /// \param the value of the word |
25 |
+ /// \return the expansion result |
26 |
const std::string do_default_expansion(const std::string& name, |
27 |
const std::string& value) |
28 |
{ |