Skip to content

sort's "order" and "case" statements shouldn't need quoted arguments #63

@philshafer

Description

@philshafer

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);
                }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions