- Revision
- 579
- Author
- rfscholte
- Date
- 2009-03-09 15:20:51 -0500 (Mon, 09 Mar 2009)
Log Message
updated lexer-comments
Modified Paths
Diff
Modified: trunk/qdox/src/grammar/lexer.flex (578 => 579)
--- trunk/qdox/src/grammar/lexer.flex 2009-03-09 20:16:09 UTC (rev 578) +++ trunk/qdox/src/grammar/lexer.flex 2009-03-09 20:20:51 UTC (rev 579) @@ -154,7 +154,7 @@ } "{" { - if(braceMode >= 0) { /* when fulle supported braceMode >= 0 */ + if(braceMode >= 0) { if(braceMode == ENUM) { isConstructor = true; } else if (braceMode == CODEBLOCK) { @@ -163,7 +163,7 @@ } pushState(braceMode); braceMode = -1; - yypushback(1); + yypushback(1); /* (re)enter brace in right mode */ } else { nestingDepth++; @@ -420,7 +420,7 @@ } } -<ASSIGNMENT, YYINITIAL, CODEBLOCK, PARENBLOCK> { +<ASSIGNMENT, YYINITIAL, CODEBLOCK, PARENBLOCK, ENUM> { "\"" { if (appendingToCodeBody) { codeBody.append('"'); } pushState(STRING); } \' { if (appendingToCodeBody) { codeBody.append('\''); } pushState(CHAR); } "//" { if (appendingToCodeBody) { codeBody.append("//"); } pushState(SINGLELINECOMMENT); }
To unsubscribe from this list please visit:
