Some macros were written on multiple lines and the new lines were not escaped. This was preventing the code from compiling.