Menu

#10 Fails to parse specific classes.

open-accepted
5
2010-08-17
2010-08-17
Anonymous
No

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.

Discussion

  • Nobody/Anonymous

    One of the troublesome classes.

     
  • Michiel Hendriks

    • status: open --> open-accepted
     
  • Michiel Hendriks

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB