Do that last commit slightly differently - this way results in no

shift-reduce conflicts.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@256 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
bdean 2003-03-05 01:19:17 +00:00
parent afbb106145
commit 5a65e71d37
1 changed files with 5 additions and 4 deletions

View File

@ -116,10 +116,13 @@ static int parse_cmdbits(OPCODE * op);
%token TKN_STRING
%token TKN_ID
%start config
%start configuration
%%
configuration :
/* empty */ | config
;
config :
def |
@ -148,9 +151,7 @@ def :
strncpy(default_serial, $3->value.string, PATH_MAX);
default_serial[PATH_MAX-1] = 0;
free_token($3);
} |
/* empty */
}
;