Fix block comment not separating identifiers, bug311.

This commit is contained in:
Wilson Snyder
2011-01-11 18:46:21 -05:00
parent 0ab739e8b1
commit fab7924cc2
8 changed files with 261 additions and 236 deletions
+6 -1
View File
@@ -848,8 +848,13 @@ int V3PreProcImp::getStateToken() {
if (m_lexp->m_keepComments == KEEPCMT_SUB) {
string rtn; rtn.assign(yyourtext(),yyourleng());
comment(rtn);
} else {
// Need to insure "foo/**/bar" becomes two tokens
insertUnreadback (" ");
} else if (m_lexp->m_keepComments) {
return (tok);
} else {
// Need to insure "foo/**/bar" becomes two tokens
insertUnreadback (" ");
}
}
// We're off or processed the comment specially. If there are newlines