projects
/
uebersetzerbau-ss10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2f823f8
)
parser: testfaelle spass...
author
Bernhard Urban
<lewurm@gmail.com>
Sat, 20 Mar 2010 18:46:27 +0000
(19:46 +0100)
committer
Bernhard Urban
<lewurm@gmail.com>
Sat, 20 Mar 2010 19:01:38 +0000
(20:01 +0100)
test/parser/a.0
patch
|
blob
|
history
diff --git
a/test/parser/a.0
b/test/parser/a.0
index 2d5724a5aa46a3ab58eb030aa11b947b5d1ee43e..50185adc182dd355c64d210e72c76ef3ae995153 100644
(file)
--- a/
test/parser/a.0
+++ b/
test/parser/a.0
@@
-1,10
+1,13
@@
-struct
mystruct
end;
+struct
_mystruct1 ___mystruct2 mystruct3
end;
method f ()
var muh := 0x10;
muh := muh * (9 - 0x4);
/* test comment */
method f ()
var muh := 0x10;
muh := muh * (9 - 0x4);
/* test comment */
- /* groeserer comemnt
-
+ /* ganz
+ vieeeeeeeeeel
+ kommentar
+
+
*/
if (muh = -0x5) then
muh := muh * -2;
*/
if (muh = -0x5) then
muh := muh * -2;
@@
-14,7
+17,7
@@
method f ()
end;
while (muh < 10) do
end;
while (muh < 10) do
- muh := muh *
(-2
);
+ muh := muh *
((((((((((((-2)))))))))))
);
end;
/* warum geht das nciht? */
end;
/* warum geht das nciht? */
@@
-25,5
+28,7
@@
method f ()
mystruct.hu := muh;
mystruct.check_i_ned := muh;
mystruct.hu := muh;
mystruct.check_i_ned := muh;
+ this.bla := wtf;
+
return muh;
end;
return muh;
end;