aboutsummaryrefslogtreecommitdiffstats
path: root/res/ael/ael.flex
diff options
context:
space:
mode:
Diffstat (limited to 'res/ael/ael.flex')
-rw-r--r--res/ael/ael.flex2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/ael.flex b/res/ael/ael.flex
index 0674ba8ff..4d441fb73 100644
--- a/res/ael/ael.flex
+++ b/res/ael/ael.flex
@@ -887,7 +887,7 @@ static void setup_filestack(char *fnamebuf2, int fnamebuf_siz, glob_t *globbuf,
free(include_stack[include_stack_index].fname);
include_stack[include_stack_index].fname = 0;
}
- include_stack[include_stack_index].fname = strdup(my_file);
+ include_stack[include_stack_index].fname = strdup(S_OR(my_file, "<none>"));
include_stack[include_stack_index].lineno = my_lineno;
include_stack[include_stack_index].colno = my_col+yyleng;
if (my_file)