projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3c78c
)
Indenting #if commands is not portable, is it?
author
Tom Lane
<
[email protected]
>
Sun, 24 Mar 2002 18:22:21 +0000
(18:22 +0000)
committer
Tom Lane
<
[email protected]
>
Sun, 24 Mar 2002 18:22:21 +0000
(18:22 +0000)
src/interfaces/ecpg/preproc/pgc.l
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/preproc/pgc.l
b/src/interfaces/ecpg/preproc/pgc.l
index ee991ff747fb87d4122766da1754b0bc4ae97aee..021766528c3f302c213574953d44ed17034d71ea 100644
(file)
--- a/
src/interfaces/ecpg/preproc/pgc.l
+++ b/
src/interfaces/ecpg/preproc/pgc.l
@@
-338,10
+338,10
@@
cppline {space}*#(.*\\{space})*.*
errno = 0;
val = strtol(literalbuf, &endptr, 16);
if (*endptr != '\0' || errno == ERANGE
-
#ifdef HAVE_LONG_INT_64
+#ifdef HAVE_LONG_INT_64
/* if long > 32 bits, check for overflow of int4 */
|| val != (long) ((int32) val)
-
#endif
+#endif
)
mmerror(PARSE_ERROR, ET_ERROR, "Bad hexadecimal integer input");
yylval.ival = val;