Fixed syntax highlighting for array parameters

The syntax highlighting should now consider non-array and array variable
types as correct. Variable types that are not identified as proper
non-array or array variable types are highlighted as incorrect (for
example if the parameter declaration looks like "Form[" as opposed to
"Form" or "Form[]").