Array<> detection is broken
Array<> breaks everything
Array<type> is broken and requires Array<type > to fix.
The correct syntax would be:
Array<type> normally
Array<class<type> >, to avoid colliding with the >> operator.
I did some editing and now the situation is reversed:
Array<> still breaks everything
Array<type> is not broken anymore
Array<class<type>> is detected as correct, and that's not good.
I decided to leave this as it is because:
Array<> is not valid anyway (thanks phantombeta for the tip), but it still breaks everything.
Array<type> has been resolved, and that's the best thing right now.
whoever is developing in ZScript has to know that Array<Class<Type>> is not valid anyway, so I'm happy with these results, for now.
If some regex god manages to fix the problem with some regex miracle I will be even happier than I am now.
GZDoom 4.14.2 actually added support for Array<class<type>> (yes, without the space).
(I'm not actually having any problems with this; this comment is purely for your information :D)
EDIT: Hmm, come to think of it, yeah, this probably might need addressing to differentiate the >> operator versus the class type array.