From 0b615342f0a24fbf02cc9fa94550cf34d230425b Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 22 Dec 2014 13:58:25 +0100 Subject: Disabled enter/exit printing for doctokenizer (produced too much noise) --- src/doctokenizer.l | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/doctokenizer.l b/src/doctokenizer.l index a6276af..d018450 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -321,9 +321,9 @@ static int yyread(char *buf,int max_size) } //-------------------------------------------------------------------------- -#define REAL_YY_DECL int doctokenizerYYlex (void) -#define YY_DECL static int local_doctokinizer(void) -#define LOCAL_YY_DECL local_doctokinizer() +//#define REAL_YY_DECL int doctokenizerYYlex (void) +//#define YY_DECL static int local_doctokinizer(void) +//#define LOCAL_YY_DECL local_doctokinizer() %} @@ -1505,13 +1505,13 @@ void doctokenizerYYendAutoList() g_autoListLevel--; } -REAL_YY_DECL -{ - printlex(yy_flex_debug, TRUE, __FILE__, g_fileName); - int retval = LOCAL_YY_DECL; - printlex(yy_flex_debug, FALSE, __FILE__, g_fileName); - return retval; -} +//REAL_YY_DECL +//{ +// printlex(yy_flex_debug, TRUE, __FILE__, g_fileName); +// int retval = LOCAL_YY_DECL; +// printlex(yy_flex_debug, FALSE, __FILE__, g_fileName); +// return retval; +//} #if !defined(YY_FLEX_SUBMINOR_VERSION) extern "C" { // some bogus code to keep the compiler happy void doctokenizerYYdummy() { yy_flex_realloc(0,0); } -- cgit v0.12