Make syntax check case-insensitive

since everything is converted to uppercase before saving anyway