Bash allows more characters besides [[:alnum:]_] when declaring
function names using the function keyword. It also does not require
having a pair of parentheses after the name. Some shells may actually
implement it differently but we don't have to be that strict since the
user explicitly specifies the function keyword anyway.

This update implements the ones described above, and also invalidates
function names that are completely made up of digits.


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/662

Commit Summary

File Changes

Patch Links:


Reply to this email directly or view it on GitHub.