mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-04 22:03:29 -06:00
.cpp
git-svn-id: svn://ultimatepp.org/upp/trunk@8436 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9867b16fc1
commit
ea8e68ab68
3 changed files with 23 additions and 15 deletions
|
|
@ -5,19 +5,6 @@ NAMESPACE_UPP
|
|||
#define LTIMING(x) RTIMING(x)
|
||||
#define LLOG(x) // DLOG(x)
|
||||
|
||||
const char *Cpp::SkipString(const char *s)
|
||||
{
|
||||
CParser p(s);
|
||||
try {
|
||||
p.ReadOneString(*s);
|
||||
}
|
||||
catch(CParser::Error) {}
|
||||
s = p.GetPtr();
|
||||
while((byte)*(s - 1) <= ' ')
|
||||
s--;
|
||||
return s;
|
||||
}
|
||||
|
||||
void Cpp::ParamAdd(Vector<String>& param, const char *s, const char *e)
|
||||
{
|
||||
while(s < e && (byte)*s <= ' ') s++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue