summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-12-11 21:06:36 (GMT)
committerMarius Kintel <marius@kintel.net>2010-12-11 21:06:36 (GMT)
commite9527c64d3130168f626ec17bf734124069ad244 (patch)
treedd15cbadf9403fee6c57a4a1b4dfd4fcfe474de3 /src
parent323918efef1af8b2abeed0e77567687278e74595 (diff)
parent052f8bc620f579271be69a0d0d699b8b4ac5bb14 (diff)
Merge branch 'experiments' of git://gitorious.org/openscad/openscad into giles
Diffstat (limited to 'src')
-rw-r--r--src/lexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lexer.l b/src/lexer.l
index 9e8aaf8..932711b 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -202,6 +202,7 @@ void includefile()
yyin = fopen(finfo.absoluteFilePath().toLocal8Bit(), "r");
if (!yyin) {
PRINTA("WARNING: Can't open input file `%1'.", filename);
+ path_stack.pop();
return;
}
filename.clear();
contact: Jan Huwald // Impressum