pike.git/
src/
cpp.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-09-24
2016-09-24 11:24:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>
a596ecf70ea70dd09bf169caba3c8ce3b4e70f0a (
13
lines) (+
6
/-
7
)
[
Show
|
Annotate
]
Branch:
8.1
Compiler
[cpp]
: Removed some redundant tests.
2918:
} string_builder_putchar(&tmp, '"'); }else{
-
/*
FIXME:
These
two
tests
are always true
.
..
*/
-
if(DEF_ARG_NOPRESPACE)
+
/*
Strip
leading
and
trailing
white-space
. */
while(l && WC_ISSPACE(EXTRACT_PCHARP(a))) INC_PCHARP(a,1),l--;
-
if(DEF_ARG_NOPOSTSPACE)
+
while(l && WC_ISSPACE(INDEX_PCHARP(a,l-1))) l--;