https://bugs.documentfoundation.org/show_bug.cgi?id=95174

Lionel Elie Mamane <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |difficultyInteresting,
                   |                            |easyHack, skillCpp,
                   |                            |skillSql

--- Comment #2 from Lionel Elie Mamane <[email protected]> ---
In file connectivity/source/parse/sqlbison.y, rule

function_name:
                string_function
        |       date_function
        |       numeric_function
        |       SQL_TOKEN_NAME

add two new cases, something like

        |       SQL_TOKEN_NAME '.' SQL_TOKEN_NAME 
                        {$$ = SQL_NEW_RULE;
                        $$->append($1);
                        $$->append(newNode(".", SQLNodeType::Punctuation));
                        $$->append($3);
                        }
        |       SQL_TOKEN_NAME '.' SQL_TOKEN_NAME '.' SQL_TOKEN_NAME
                        {$$ = SQL_NEW_RULE;
                        $$->append($1);
                        $$->append(newNode(".", SQLNodeType::Punctuation));
                        $$->append($3);
                        $$->append(newNode(".", SQLNodeType::Punctuation));
                        $$->append($5);}

Then "git grep -E '(function_name|set_fct_spec)" and examine the code that
matches this. If it examines one of these nodes, it expects a single token at
the function_name place. It must be adapted to expect a token _or_ a node.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to