comparison tests/code/func_1.d @ 89:a49bb982a7b0 new_gen

Using the new SourceLocation system to handle errors. Also, this is the first push for making the errors don't throw, but continue to check the source.
author Anders Johnsen <skabet@gmail.com>
date Sun, 04 May 2008 20:27:01 +0200
parents 688b516408cd
children
comparison
equal deleted inserted replaced
88:eb5b2c719a39 89:a49bb982a7b0
9 } 9 }
10 10
11 testStruct m(testStruct t) 11 testStruct m(testStruct t)
12 { 12 {
13 t.x = t.x - 5; 13 t.x = t.x - 5;
14 return t;
14 } 15 }
15 16
16 struct testStruct 17 struct testStruct
17 { 18 {
18 int x; 19 int x;