Fix and formalize newline and semicolon behavior in methodmaps. (bug 6175)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma semicolon 1
|
||||
|
||||
methodmap Entity
|
||||
{
|
||||
public Entity(const char[] className) {
|
||||
return Entity:CreateEntityByName(className);
|
||||
}
|
||||
|
||||
property bool IsValid {
|
||||
public get() {
|
||||
return IsValidEntity(_:this);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
public main()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user