Skip to content

Commit

Permalink
Disabled enter/exit printing for doctokenizer (produced too much noise)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Dec 22, 2014
1 parent d1ed20c commit 0b61534
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/doctokenizer.l
Expand Up @@ -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()

%}

Expand Down Expand Up @@ -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); }
Expand Down

0 comments on commit 0b61534

Please sign in to comment.