From 2c488f92bee9bad448b6171e724fd4c0c2bbd97c Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Fri, 15 Aug 2014 22:05:09 +0200 Subject: [PATCH] Cleaned up marking of comments/cdata tags. --- ext/ragel/base_lexer.rl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ragel/base_lexer.rl b/ext/ragel/base_lexer.rl index ab043d4..850e11f 100644 --- a/ext/ragel/base_lexer.rl +++ b/ext/ragel/base_lexer.rl @@ -52,7 +52,7 @@ comment_end = '-->'; action start_comment { - mark = ts + 4; + mark = te; fnext comment_body; } @@ -81,7 +81,7 @@ cdata_end = ']]>'; action start_cdata { - mark = ts + 9; + mark = te; fnext cdata_body; }