Mercurial > baum
annotate examples/tests/test_double_indent.baum @ 53:036779d5da75
"sum" node clears its value now everytime it gets called
author | meillo@marmaro.de |
---|---|
date | Sun, 02 Mar 2008 16:32:52 +0100 |
parents | c7dca4a1dc37 |
children |
rev | line source |
---|---|
43
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
1 # example program for baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
2 # http://prog.marmaro.de/baum |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
3 # |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
4 # this program fails |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
5 # because it indents over two levels |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
6 # |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
7 # error code is `5' |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
8 |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
9 print(0) |
c7dca4a1dc37
added test programs; added another example program
meillo@marmaro.de
parents:
diff
changeset
|
10 number(5) |