/* just fall through and free the token */
} else if (top == NULL) {
if (token->type == TOKEN_IDENTIFIER &&
- !g_ascii_strcasecmp("key", token->data.identifier)) {
+ !g_ascii_strcasecmp("kbind", token->data.identifier)) {
top = token->data.identifier;
return;
} else {
- yyerror("syntax error (expected Key)");
+ yyerror("syntax error (expected kbind)");
err = TRUE;
}
} else if (chain == NULL) {
if (kbind(strchain, action))
action = NULL; /* don't free this if kbind succeeds */
else
- yyerror("failed to add binding");
+ yyerror("failed to add key binding");
/* free the char*'s */
g_list_free(strchain);