diff options
Diffstat (limited to 'src/vhdlcode.l')
-rw-r--r-- | src/vhdlcode.l | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vhdlcode.l b/src/vhdlcode.l index ebebc10..3e027d7 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -18,6 +18,9 @@ * supports VHDL-87/93/2008 ******************************************************************************/ %option never-interactive +%option case-insensitive +%option prefix="vhdlcodeYY" + %{ /* @@ -182,7 +185,6 @@ static void startCodeLine() //if (g_currentFontClass) { g_code->endFontClass(); } if (g_sourceFileDef) { - g_startCode=TRUE; //QCString lineNumber,lineAnchor; //lineNumber.sprintf("%05d",g_yyLineNr); //lineAnchor.sprintf("l%05d",g_yyLineNr); @@ -230,13 +232,13 @@ static void startCodeLine() } } g_code->startCodeLine(g_sourceFileDef); + g_startCode=TRUE; if (g_currentFontClass) { g_code->startFontClass(g_currentFontClass); } } -static void endFontClass(); static void endCodeLine() { endFontClass(); |