diff src/lex.l @ 5359:17e40a1331b0

[project @ 2005-05-21 08:31:52 by jwe]
author jwe
date Sat, 21 May 2005 08:31:52 +0000
parents e965ab89f832
children 3074a549d644
line wrap: on
line diff
--- a/src/lex.l	Thu May 19 23:22:06 2005 +0000
+++ b/src/lex.l	Sat May 21 08:31:52 2005 +0000
@@ -1945,7 +1945,7 @@
 
       if (c == '\\')
 	{
-	  if (escape_pending)
+	  if (delim == '\'' || escape_pending)
 	    {
 	      buf << static_cast<char> (c);
 	      escape_pending = 0;
@@ -1964,7 +1964,7 @@
 	}
       else if (c == '.')
 	{
-	  if (! have_ellipsis_continuation (false))
+	  if (delim == '\'' || ! have_ellipsis_continuation (false))
 	    buf << static_cast<char> (c);
 	}
       else if (c == '\n')