sort's order and case statement should not require quotes, but I am calling slaxAttribAddValue instead of slaxAttribAddLiteral, so a non-quoted value turns into "{value}", which won't work.
| K_ORDER data_value L_EOS
{
/* "ascending" or "descending" */
ALL_KEYWORDS_ON();
slaxAttribAddValue(slax_data, $1->ss_token, $2);
$$ = STACK_CLEAR($1);
}
| K_CASE_ORDER data_value L_EOS
{
/* "upper-first" or "lower-first" */
ALL_KEYWORDS_ON();
slaxAttribAddValue(slax_data, $1->ss_token, $2);
$$ = STACK_CLEAR($1);
}
sort's order and case statement should not require quotes, but I am calling slaxAttribAddValue instead of slaxAttribAddLiteral, so a non-quoted value turns into "{value}", which won't work.