mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
cpp: fixed comment issue
git-svn-id: svn://ultimatepp.org/upp/trunk@8437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
ea8e68ab68
commit
3abf83c87f
1 changed files with 5 additions and 1 deletions
|
|
@ -47,8 +47,12 @@ void RemoveComments(String& l, bool& incomment)
|
|||
if(*s == '\"')
|
||||
s = SkipString(s);
|
||||
else
|
||||
if(s[0] == '/' && s[1] == '*')
|
||||
if(s[0] == '/' && s[1] == '*') {
|
||||
q = int(s - ~l);
|
||||
break;
|
||||
}
|
||||
else
|
||||
s++;
|
||||
}
|
||||
if(q >= 0)
|
||||
w = q + 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue