parser: testfaelle spass...
authorBernhard Urban <lewurm@gmail.com>
Sat, 20 Mar 2010 18:46:27 +0000 (19:46 +0100)
committerBernhard Urban <lewurm@gmail.com>
Sat, 20 Mar 2010 19:01:38 +0000 (20:01 +0100)
test/parser/a.0

index 2d5724a5aa46a3ab58eb030aa11b947b5d1ee43e..50185adc182dd355c64d210e72c76ef3ae995153 100644 (file)
@@ -1,10 +1,13 @@
-struct mystruct end;
+struct _mystruct1 ___mystruct2 mystruct3 end;
 method f ()
        var muh := 0x10;
        muh := muh * (9 - 0x4);
        /* test comment */
-       /* groeserer comemnt
-
+       /* ganz
+       vieeeeeeeeeel
+       kommentar
+       
+       
        */
        if (muh = -0x5) then
                muh := muh * -2;
@@ -14,7 +17,7 @@ method f ()
        end;
 
        while (muh < 10) do
-               muh := muh *(-2);
+               muh := muh *      ((((((((((((-2))))))))))));
        end;
 
        /* warum geht das nciht? */
@@ -25,5 +28,7 @@ method f ()
        mystruct.hu := muh;
        mystruct.check_i_ned := muh;
 
+       this.bla := wtf;
+
        return muh;
 end;