changeset 245:3590ecca6bc9

Fix handling of unescaped tabs in string literals in new parser
author Mike Pavone <pavone@retrodev.com>
date Mon, 06 Jan 2014 01:03:18 -0800
parents ae5188be523e
children 8c81afd6d2d3
files modules/parser.tp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/parser.tp	Mon Jan 06 00:48:19 2014 -0800
+++ b/modules/parser.tp	Mon Jan 06 01:03:18 2014 -0800
@@ -285,8 +285,7 @@
 		if: inverted {
 			old <- out
 			out <- ""
-			//skip control characters for now
-			cur <- 32
+			cur <- 0
 			while: { cur < 256 } do: {
 				notfound <- true
 				idx <- 0