fix order of tokens in parser to accept type[] &