Created header globals.h for globals scanner/parser variables
enum definition parsing is now recoverable
Checks and exceptions

Added checks and exceptions, plus got duplicate enum definition detection
up and running.