I noticed in emacs like ^M, that is ASCII control code, namely 13, CARRIAGE RETURN. (like CreateureDefinition.h). It seems that someone tainted the file with the windows editor.
Please use the Unix line endings, that is if you are editing under Windows editor make sure, you set UNIX mode ( or similar name ) under it before starting the edit.
Have a nice day.