Test case for #65
AST and parser for const hooks
Fix for #65

Add const hook to access preprocessor constants.