>From 27dedd9c4bd052123085ac9b7a3c6e71a32a9bf9 Mon Sep 17 00:00:00 2001 From: Jochen Keil Date: Fri, 29 Jan 2010 14:24:42 +0100 Subject: [PATCH 8/9] don't break the lexer if there is an escaped bracket (\{ or \}) on the input --- tcl-dox.l | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tcl-dox.l b/tcl-dox.l index d49e3ce..ffdbfd6 100644 --- a/tcl-dox.l +++ b/tcl-dox.l @@ -325,6 +325,9 @@ WS [ \t] { switch (*yytext) { + case '\\': + /* ignore any escaped value */ + break; case '{': g_bcount++; break; -- 1.6.6.1