Fails to parse specific classes.
Brought to you by:
elmuerte
I have a couple of classes that UnCodeX cannot parse. It says "Scanner: No class found in this file: IRDamageComponent.uc".
Although there are classes in the offending files, I have had trouble with them before when UDK make refused to compile them if I added any `log statements to them below a certain point in the file, saying "Error: D:\UDK\UDK-2010-08\Development\Src\IRGame\Classes\IRDamageComponent.uc(226) : Error, '`': Bad command or expression". The files compile fine in their current state though.
One of the troublesome classes.
The file is saved in the so called "Mac format", the line endings use just "\r". This used to be the case on old Apple Macs (before OSX). Windows uses \n\r and UNIX/Linux/OSX use \n
UnCodeX only checks for \n and ignores \r, and for some reason other things in the parser break resulting in no class definition being found.