It is just a typo.
Perfectly legitimate.
Although I'd think the syntax highlighting would typically be a little less misleading...
Perfectly legitimate.