Instead of recognizing "function" as a keyword, simply match it as a context-sensitive keyword in the parser outside functions.
Instead of recognizing "function" as a keyword, simply match it as a context-sensitive keyword in the parser outside functions.