My program doesn't have bugs. It just develops random features.

Difference between revisions of "Compiler issues"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m (Parsing Issues: Fixed format)
m (Parsing Issues: Swapped ...)
Line 20: Line 20:
  
 
{{CorrectWrong|<uscript>
 
{{CorrectWrong|<uscript>
defaultproperties{
 
}</uscript>|<uscript>
 
 
defaultproperties
 
defaultproperties
 
{
 
{
 +
}</uscript>|<uscript>
 +
defaultproperties{
 
}</uscript>}}
 
}</uscript>}}

Revision as of 02:20, 23 September 2010

Like any other compiler there are issues with the parsing therefor this page exists to mention those common issues and how to get around them.

Parsing Issues

Comment Issues related to the comments

Having an end of multi-line comment proceeded by a line comment on the same line.
Correct and Wrong example

DefaultProperties Issues related to the defaultproperties block

Placing a { on the same line of the defaultproperties declaration will cause the parser to skip the defaultproperties block thus :all of your default values will not be compiled, to get around this is easy just place the { on the next line!.
Correct and Wrong example