mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
CParser::SkipTerm fixed
git-svn-id: svn://ultimatepp.org/upp/trunk@996 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a396ec316f
commit
36555d3712
1 changed files with 6 additions and 3 deletions
|
|
@ -328,13 +328,16 @@ void CParser::SkipTerm()
|
|||
else
|
||||
if(IsChar('\''))
|
||||
ReadString('\'', false);
|
||||
else
|
||||
if(*term)
|
||||
else
|
||||
if(*term) {
|
||||
if(*term == '\n')
|
||||
line++;
|
||||
term++;
|
||||
}
|
||||
DoSpaces();
|
||||
}
|
||||
|
||||
CParser::Pos CParser::GetPos()
|
||||
CParser::Pos CParser::GetPos()
|
||||
{
|
||||
Pos p;
|
||||
p.line = line;
|
||||
|
|
|
|||
Loading…
Reference in a new issue