summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-04 07:33:02 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-12-04 07:33:02 (GMT)
commitcfb8a40c5663d6c9947d14f7b71997a4382a6078 (patch)
treebefaefaadb7a118c0bef534384aa3c948dc46fc0
parent1610e1cba7b1753117a231fefbf1c184d38a12b8 (diff)
Clifford Wolf:
Fixed multiple recompile bug (thx to Andrew Plumb for reporting and debugging) git-svn-id: http://svn.clifford.at/openscad/trunk@142 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.l b/lexer.l
index 68fc402..fea9cd1 100644
--- a/lexer.l
+++ b/lexer.l
@@ -73,7 +73,7 @@ extern const char *parser_input_buffer;
}
<<EOF>> {
- if (yyin)
+ if (yyin && yyin != stdin)
fclose(yyin);
yypop_buffer_state();
if (!YY_CURRENT_BUFFER)
contact: Jan Huwald // Impressum