Mercurial > projects > ddmd
comparison dmd/backend/iasm.d @ 192:eb38fdcb3e62 default tip
updated to compile with dmd2.062
author | korDen |
---|---|
date | Sat, 02 Mar 2013 01:25:52 -0800 |
parents | 52188e7e3fb5 |
children |
comparison
equal
deleted
inserted
replaced
191:52188e7e3fb5 | 192:eb38fdcb3e62 |
---|---|
1387 { | 1387 { |
1388 string id = tok.ident.toChars(); | 1388 string id = tok.ident.toChars(); |
1389 size_t len = id.length; | 1389 size_t len = id.length; |
1390 if (len < 20) | 1390 if (len < 20) |
1391 { | 1391 { |
1392 ASMTK asmtk = cast(ASMTK) binary(toStringz(id), apszAsmtk.ptr, ASMTK.ASMTKmax); | 1392 ASMTK asmtk = cast(ASMTK) binary(toStringz(id), apszAsmtk, ASMTK.ASMTKmax); |
1393 | |
1393 if (cast(int)asmtk >= 0) | 1394 if (cast(int)asmtk >= 0) |
1394 tok_value = cast(TOK)(asmtk + TOK.TOKMAX + 1); | 1395 tok_value = cast(TOK)(asmtk + TOK.TOKMAX + 1); |
1395 } | 1396 } |
1396 } | 1397 } |
1397 } | 1398 } |