Fixed function pointer array indexing. Fixes #41.
Set scope for function pointer variable before semanting.
Fixed preprocessor failing on unknown definitions.