From: Bernhard Urban Date: Wed, 31 Mar 2010 14:19:16 +0000 (+0200) Subject: Merge branch 'master' of git://github.com/skinner33/testub10 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=testub10.git;a=commitdiff_plain;h=3bae9d34785b9d2eba710933e1dc7e1f7fa27211;hp=333cd75918b3f49bd054a4e9e16f43d3eb79dad1 Merge branch 'master' of git://github.com/skinner33/testub10 --- diff --git a/parser/skinner_02.0 b/parser/skinner_02.0 new file mode 100644 index 0000000..e69de29 diff --git a/parser/skinner_03.0 b/parser/skinner_03.0 new file mode 100644 index 0000000..139597f --- /dev/null +++ b/parser/skinner_03.0 @@ -0,0 +1,2 @@ + + diff --git a/parser/skinner_04.0 b/parser/skinner_04.0 new file mode 100644 index 0000000..3841b3f --- /dev/null +++ b/parser/skinner_04.0 @@ -0,0 +1,23 @@ +struct ba end; + +method foo ( bar barfoo ) + if 42 or 1337 then + var bit := not 0; + else + var bit := 0; + end; +end; + +struct blubb blibb blabb end; + +method bla () + var drupdidup := 0; + if fad or lol then + var muhahahahaha := zood; + else + var muhahahahaha := gaehn; + drupdiup := gaehn; + not drupdidup; + end; + blubb.blibb (foo); +end; diff --git a/scanner/skinner_02.0 b/scanner/skinner_02.0 new file mode 100644 index 0000000..e69de29 diff --git a/scanner/skinner_02.out b/scanner/skinner_02.out new file mode 100644 index 0000000..e69de29 diff --git a/scanner/skinner_03.0 b/scanner/skinner_03.0 new file mode 100644 index 0000000..139597f --- /dev/null +++ b/scanner/skinner_03.0 @@ -0,0 +1,2 @@ + + diff --git a/scanner/skinner_03.out b/scanner/skinner_03.out new file mode 100644 index 0000000..e69de29 diff --git a/scanner/skinner_04.0 b/scanner/skinner_04.0 new file mode 100644 index 0000000..3841b3f --- /dev/null +++ b/scanner/skinner_04.0 @@ -0,0 +1,23 @@ +struct ba end; + +method foo ( bar barfoo ) + if 42 or 1337 then + var bit := not 0; + else + var bit := 0; + end; +end; + +struct blubb blibb blabb end; + +method bla () + var drupdidup := 0; + if fad or lol then + var muhahahahaha := zood; + else + var muhahahahaha := gaehn; + drupdiup := gaehn; + not drupdidup; + end; + blubb.blibb (foo); +end; diff --git a/scanner/skinner_04.out b/scanner/skinner_04.out new file mode 100644 index 0000000..e37ccc9 --- /dev/null +++ b/scanner/skinner_04.out @@ -0,0 +1,80 @@ +struct +ident ba +end +; +method +ident foo +( +ident bar +ident barfoo +) +if +num 2a +or +num 539 +then +var +ident bit +:= +not +num 0 +; +else +var +ident bit +:= +num 0 +; +end +; +end +; +struct +ident blubb +ident blibb +ident blabb +end +; +method +ident bla +( +) +var +ident drupdidup +:= +num 0 +; +if +ident fad +or +ident lol +then +var +ident muhahahahaha +:= +ident zood +; +else +var +ident muhahahahaha +:= +ident gaehn +; +ident drupdiup +:= +ident gaehn +; +not +ident drupdidup +; +end +; +ident blubb +. +ident blibb +( +ident foo +) +; +end +;