aboutsummaryrefslogtreecommitdiff
path: root/src/gram.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/gram.y')
-rw-r--r--src/gram.y7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gram.y b/src/gram.y
index 9a6e3c2..2f6d7c0 100644
--- a/src/gram.y
+++ b/src/gram.y
@@ -168,13 +168,12 @@ value : string
168 168
169slist : string 169slist : string
170 { 170 {
171 $$.head = $$.tail = slist_new ($1); 171 $$.head = $$.tail = slist_new_s ($1);
172 } 172 }
173 | slist ',' string 173 | slist ',' string
174 { 174 {
175 struct slist *s = slist_new ($3); 175 struct slist *s = slist_new_s ($3);
176 $1.tail->next = s; 176 slist_insert (&$1.tail, s);
177 $1.tail = s;
178 $$ = $1; 177 $$ = $1;
179 } 178 }
180 ; 179 ;

Return to:

Send suggestions and report system problems to the System administrator.