From afbb106145dd9db3a386ee838a49041d68d6a16c Mon Sep 17 00:00:00 2001 From: bdean Date: Wed, 5 Mar 2003 01:13:57 +0000 Subject: [PATCH] It shouldn't be an error to have an empty configuration file. This causes some shift-reduce conflicts, but I think they are OK. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@255 81a1dc3b-b13d-400b-aceb-764788c761c2 --- config_gram.y | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config_gram.y b/config_gram.y index 6417892b..f3407f66 100644 --- a/config_gram.y +++ b/config_gram.y @@ -148,7 +148,9 @@ def : strncpy(default_serial, $3->value.string, PATH_MAX); default_serial[PATH_MAX-1] = 0; free_token($3); - } + } | + + /* empty */ ;