mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@13722 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e705db2e52
commit
fb83c1c115
1 changed files with 0 additions and 3 deletions
|
|
@ -172,18 +172,15 @@ void CParser::PassChar3(char c1, char c2, char c3) {
|
|||
}
|
||||
|
||||
String CParser::ReadId() {
|
||||
RTIMING("ReadId");
|
||||
if(!IsId())
|
||||
ThrowError("missing id");
|
||||
String result;
|
||||
RTIMING("ReadId1");
|
||||
const char *b = term;
|
||||
const char *p = b;
|
||||
while(iscid(*p))
|
||||
p++;
|
||||
term = p;
|
||||
DoSpaces();
|
||||
RTIMING("ReadId2");
|
||||
return String(b, (int)(uintptr_t)(p - b));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue