Fix and formalize newline and semicolon behavior in methodmaps. (bug 6175)

This commit is contained in:
David Anderson
2014-07-12 00:07:34 -07:00
parent c47cfa6fa8
commit 3d3e5c40c2
9 changed files with 339 additions and 247 deletions
@@ -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()
{
}