Merge pull request #88 from alliedmodders/bug-6175

Fix and formalize newline and semicolon behavior in methodmaps. (bug 6175)
This commit is contained in:
David Anderson
2014-07-12 20:45:35 -07:00
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()
{
}