baum

view examples/tests/test_double_indent.baum @ 57:21ff1783f640

using function pointers now, instead of a large if-else
author meillo@marmaro.de
date Wed, 25 Jun 2008 09:20:16 +0200
parents
children
line source
1 # example program for baum
2 # http://prog.marmaro.de/baum
3 #
4 # this program fails
5 # because it indents over two levels
6 #
7 # error code is `5'
9 print(0)
10 number(5)