Permalink
Browse files

Disabled enter/exit printing for doctokenizer (produced too much noise)

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 22, 2014
1 parent d1ed20c commit 0b615342f0a24fbf02cc9fa94550cf34d230425b
Showing with 10 additions and 10 deletions.
  1. +10 −10 src/doctokenizer.l
View
@@ -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); }

0 comments on commit 0b61534

Please sign in to comment.