comparison dmd/BinExp.d @ 79:43073c7c7769

updated to 2.035 also implemented a few missing functions still crashes in Import.importAll though
author Trass3r
date Mon, 30 Aug 2010 03:57:51 +0200
parents 7e0d548de9e6
children be2ab491772e
comparison
equal deleted inserted replaced
78:b98fa8a4bf04 79:43073c7c7769
1379 if (type.toBasetype().nextOf().toBasetype().ty == Tvoid) 1379 if (type.toBasetype().nextOf().toBasetype().ty == Tvoid)
1380 { 1380 {
1381 error("Cannot perform array operations on void[] arrays"); 1381 error("Cannot perform array operations on void[] arrays");
1382 return new ErrorExp(); 1382 return new ErrorExp();
1383 } 1383 }
1384 1384
1385 Expressions arguments = new Expressions(); 1385 Expressions arguments = new Expressions();
1386 1386
1387 /* The expression to generate an array operation for is mangled 1387 /* The expression to generate an array operation for is mangled
1388 * into a name to use as the array operation function name. 1388 * into a name to use as the array operation function name.
1389 * Mangle in the operands and operators in RPN order, and type. 1389 * Mangle in the operands and operators in RPN order, and type.
1635 sc = sc.push(); 1635 sc = sc.push();
1636 sc.parent = sc.module_.importedFrom; 1636 sc.parent = sc.module_.importedFrom;
1637 sc.stc = STCundefined; 1637 sc.stc = STCundefined;
1638 sc.linkage = LINKc; 1638 sc.linkage = LINKc;
1639 fd.semantic(sc); 1639 fd.semantic(sc);
1640 fd.semantic2(sc);
1641 fd.semantic3(sc);
1640 sc.pop(); 1642 sc.pop();
1641 } 1643 }
1642 else 1644 else
1643 { /* In library, refer to it. 1645 { /* In library, refer to it.
1644 */ 1646 */