=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/m4/gnum4.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/m4/gnum4.c 2001/09/18 13:42:37 1.11 --- src/usr.bin/m4/gnum4.c 2001/09/18 13:52:58 1.12 *************** *** 1,4 **** ! /* $OpenBSD: gnum4.c,v 1.11 2001/09/18 13:42:37 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie --- 1,4 ---- ! /* $OpenBSD: gnum4.c,v 1.12 2001/09/18 13:52:58 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie *************** *** 173,182 **** if (p == NULL) errx(1, "undefined macro %s", argv[2]); argv[1] = p->defn; ! if (p->type == MACRTYPE) ! expand(argv+1, argc-1); ! else ! eval(argv+1, argc-1, p->type); } void --- 173,179 ---- if (p == NULL) errx(1, "undefined macro %s", argv[2]); argv[1] = p->defn; ! eval(argv+1, argc-1, p->type); } void