3 source/macro.c | 4 ++--
4 1 files changed, 2 insertions(+), 2 deletions(-)
6 diff --quilt old/source/macro.c new/source/macro.c
9 @@ -3816,11 +3816,11 @@ static int evalMS(WindowInfo *window, Da
10 strcpy(macrosave, macro);
11 macrosave[strlen(macro)] = '\n';
12 macrosave[strlen(macro) + 1] = '\0';
14 /* Parse the macro and report errors if it fails */
15 - prog = ParseMacro(macrosave, errMsg, &stoppedAt);
16 + prog = ParseMacro(macrosave, errMsg, &stoppedAt, "eval");
18 ParseError(window->shell, macrosave, stoppedAt, "eval()", *errMsg);
22 @@ -4047,11 +4047,11 @@ static int defineFuncMS(WindowInfo *wind
24 strcpy(bodysave, body);
25 strcat(bodysave, "\n");
27 /* Parse the macro and report errors if it fails */
28 - prog = ParseMacro(bodysave, errMsg, &stoppedAt);
29 + prog = ParseMacro(bodysave, errMsg, &stoppedAt, name);
31 ParseError(window->shell, bodysave, stoppedAt, name, *errMsg);