JohnNilsson / awk-sublime

Awk syntax highlighting in Sublime Text
MIT License
25 stars 6 forks source link

Gawk namespaces #15

Closed fes111-7 closed 4 years ago

fes111-7 commented 4 years ago

Hi. First of all, thanks for all the work that has gone into this package, including the recent updates.

Could the syntax highlighter be updated to include namespaces, as defined since Gawk 5.0? I don't think this update would have a backwards compatibility issue, but would stop the inclusion of namespaces in variables and function names from breaking the syntax highlighter.

The variable and function name syntax that needs to be allowed is of the form namespace::function_name() or namespace::variable_name -- in effect, allowing the use of a pair of colons within a variable or function name.

If the above is not clear, or you have any questions, just let me know. Cheers.