summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-09 16:08:28 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-09 16:08:28 (GMT)
commite0eea53ad5227894d0d1d3500239d2e747df9873 (patch)
treedd15cbadf9403fee6c57a4a1b4dfd4fcfe474de3 /src
parenta6880af2753fa3623e29ce9e7b9e0d6512eec82d (diff)
parent052f8bc620f579271be69a0d0d699b8b4ac5bb14 (diff)
Merge branch 'experiments' of git://gitorious.org/openscad/openscad into giles
git-svn-id: http://svn.clifford.at/openscad/trunk@586 b57f626f-c46c-0410-a088-ec61d464b74c
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