1 |
commit: 73e07bf1dd111519ddecd79c19c77d64851458e9 |
2 |
Author: Mu Qiao <qiaomuf <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 2 00:52:13 2011 +0000 |
4 |
Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 00:52:13 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=73e07bf1 |
7 |
|
8 |
Add a start rule for the tree walker grammar |
9 |
|
10 |
--- |
11 |
bashast/libbashWalker.g | 2 ++ |
12 |
1 files changed, 2 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/bashast/libbashWalker.g b/bashast/libbashWalker.g |
15 |
index ebb23fe..95c2ff3 100644 |
16 |
--- a/bashast/libbashWalker.g |
17 |
+++ b/bashast/libbashWalker.g |
18 |
@@ -41,6 +41,8 @@ void set_interpreter(std::shared_ptr<interpreter> w) |
19 |
} |
20 |
} |
21 |
|
22 |
+start: list|EOF; |
23 |
+ |
24 |
list: ^(LIST var_def+); |
25 |
|
26 |
name returns[std::string libbash_value]: |