Fixed fatal error for unknown macro

Fixes #1052
@stof Benchmark for 7 macros http://3v4l.org/j5F2j