From 18307335f46139e34fa01638fe074b85953322ee Mon Sep 17 00:00:00 2001 From: clifford Date: Wed, 13 Jan 2010 07:47:53 +0000 Subject: Clifford Wolf: Fixed lexing '//' comment with no newline at end of file git-svn-id: http://svn.clifford.at/openscad/trunk@270 b57f626f-c46c-0410-a088-ec61d464b74c diff --git a/lexer.l b/lexer.l index ebd5f1a..b49b9ca 100644 --- a/lexer.l +++ b/lexer.l @@ -98,7 +98,7 @@ extern const char *parser_input_buffer; } [\n\r\t ] -\/\/[^\n]*\n +\/\/[^\n]*\n? "/*" BEGIN(comment); "*/" BEGIN(INITIAL); .|\n -- cgit v0.10.1