From cfb8a40c5663d6c9947d14f7b71997a4382a6078 Mon Sep 17 00:00:00 2001 From: clifford Date: Fri, 4 Dec 2009 07:33:02 +0000 Subject: 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 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; } <> { - if (yyin) + if (yyin && yyin != stdin) fclose(yyin); yypop_buffer_state(); if (!YY_CURRENT_BUFFER) -- cgit v0.10.1