annotate examples/tests/test_node_name_too_long.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 |
|
rev |
line source |
meillo@43
|
1 # example program for baum
|
meillo@43
|
2 # http://prog.marmaro.de/baum
|
meillo@43
|
3 #
|
meillo@43
|
4 # this program fails
|
meillo@43
|
5 # because a node has no value
|
meillo@43
|
6 #
|
meillo@43
|
7 # error code is `6'
|
meillo@43
|
8
|
meillo@43
|
9 print(0)
|
meillo@43
|
10 thisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolongthisistoolong(6)
|