On 10/10/06, Martin Bähr <[EMAIL PROTECTED]> wrote: > hi, > > i am getting this error when trying to build fish: > > make[1]: Entering directory `/tmp/buildd/fish-1.21.12' > cc -g -Wall -O2 -std=c99 -D_GNU_SOURCE=1 -D_ISO99_SOURCE=1 > -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" > -DDATADIR=L\"/usr/share\" -DSYSCONFDIR=L\"/etc\" -std=c99 -c -o > fish_tests.o fish_tests.c > fish_tests.c: In function 'test_parser': > fish_tests.c:487: error: too few arguments to function 'parser_test' > fish_tests.c:493: error: too few arguments to function 'parser_test' > fish_tests.c:497: error: too few arguments to function 'parser_test' > fish_tests.c:501: error: too few arguments to function 'parser_test' > fish_tests.c:507: error: too few arguments to function 'parser_test' > fish_tests.c:511: error: too few arguments to function 'parser_test' > fish_tests.c:515: error: too few arguments to function 'parser_test' > fish_tests.c:519: error: too few arguments to function 'parser_test' > fish_tests.c:523: error: too few arguments to function 'parser_test' > fish_tests.c:523: error: too few arguments to function 'parser_test' > make[1]: *** [fish_tests.o] Error 1 > > in fish_tests.c parser_test is only called with 3 and not 4 arguments.
Hi. Yup, when I added the support for indentation, the easiest way to do this was to add a bit of code to the syntax validator that keeps track of the block level at each character position. This is essentially a free operation since the validator needs to keep track of block level anyway, in order to keep track of unclosed blocks. Obviously, I forgot to update the function argument list in the test suite. Thank you for the bug report, the issue is fixed in the darcs tree. > > greetings, martin. > -- > cooperative communication with sTeam - caudium, pike, roxen and unix > offering: programming, training and administration - anywhere in the world > -- > pike programmer travelling and working in europe open-steam.org > unix system- bahai.or.at iaeste.(tuwien.ac|or).at > administrator (caudium|gotpike).org is.schon.org > Martin Bähr http://www.iaeste.or.at/~mbaehr/ > -- Axel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
