Looks like your file is corrupt ... the defines should be on separate lines and you have two for TEXT_MAIN and the second one is missing the "d" in define and is wrapped with the first one ...

Note: there can only be one define for each constant available at a given time ...