From b3828e962bb17216c160ed46ccb3fc585dad6eaa Mon Sep 17 00:00:00 2001 From: "Brian S. Dean" 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@255 81a1dc3b-b13d-400b-aceb-764788c761c2 --- avrdude/config_gram.y | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avrdude/config_gram.y b/avrdude/config_gram.y index 6417892b..f3407f66 100644 --- a/avrdude/config_gram.y +++ b/avrdude/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 */ ;