Added support for IF in CheckSyntax function.
Authored by: madanner 2002-11-25
Parent: [r250]
Child: [r252]