CVSROOT: /cvs Module name: src Changes by: l...@cvs.openbsd.org 2019/07/11 12:20:18
Modified files: usr.bin/mg : cmode.c dired.c extend.c funmap.c funmap.h grep.c Log message: Allow functions that have 1 or more parameters receive and process multiple arguments when evaluated in a startup file or via one of the 'eval' commands. This diff does treat the '(' and ')' chars differently during evaluation than previously, in-so-far as they are not ignored if they are at the end or start of a line now. However, even though these characters are not ignored, this diff should not change the behaviour of an extant .mg file, with '(' and ')' chars at the end and start of a line. This situation is accomodated for in this diff (with limited testing though).