summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/config/parser.yy
diff options
context:
space:
mode:
authorschodet2005-04-05 22:04:03 +0000
committerschodet2005-04-05 22:04:03 +0000
commit426194305cecf47c4f6ee27d6c2f3431de61f630 (patch)
treef7eee5cbae82729ac9365df3aec0bd15b5df137e /2005/i/robert/src/config/parser.yy
parent1bfba4d6caa690ab7a2e68625c902a8093092bf8 (diff)
Fix du test pour les IntList.
FloatList en double (oui, le nom est trompeur). Bug avec str. Parsage de chaîne et changement de la règle "input". Support des commentaires.
Diffstat (limited to '2005/i/robert/src/config/parser.yy')
-rw-r--r--2005/i/robert/src/config/parser.yy6
1 files changed, 4 insertions, 2 deletions
diff --git a/2005/i/robert/src/config/parser.yy b/2005/i/robert/src/config/parser.yy
index fe1ca60..4bd744f 100644
--- a/2005/i/robert/src/config/parser.yy
+++ b/2005/i/robert/src/config/parser.yy
@@ -78,8 +78,8 @@ void yyerror (const char *);
%%
input:
- /* Nothing. */
- | input confitem '\n'
+ confitem
+ | input '\n' confitem
| input '\n'
;
@@ -130,3 +130,5 @@ yy_init_globals (yyscan_t yyscanner)
return yy_init_globals (yyscanner);
}
+/* vim:ft=yacc:
+*/