| Issue 38: | minor keyword issue,int as id | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
class Test3 {
public static function main() {
var int = 10;
}
}
fails to compile, is there a general keyword replacement mechanism?
Jul 29, 2010
Project Member
#1
gameh...@gmail.com
Status:
Fixed
Jul 29, 2010
yes int works now, thx.
I checked other keywords and found still problems for these:
class Test3 {
public static function main() {
var asm = 19;
var bool = 19;
var const_cast = 19;
var dynamic_cast = 19;
var explicit = 19;
var export = 19; // just a cpp-compiler warning, but i think it should be replaced too
var mutable = 19;
var namespace = 19;
var reinterpret_cast = 19;
var static_cast = 19;
var typeid = 19;
var typename = 19;
var virtual = 19;
var wchar_t = 19;
}
}
Jul 29, 2010
i just checked that you already replace asm with _asm, but this is also a keyword ;) |