Improve error messaging for reserved keywords (bug 6199).
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public Action:SomeEvent( Handle:event, const String:name[], bool:dontBroadcast)
|
||||
{
|
||||
// error 143: new-style declarations should not have "new"
|
||||
new object = GetEventInt(event, "object");
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
(4) : error 157: 'object' is a reserved keyword
|
||||
Reference in New Issue
Block a user