1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Fix contrib/cube and contrib/seg to compile on Windows.

Andreas Pflug
This commit is contained in:
Tom Lane
2004-09-14 04:21:38 +00:00
parent 92244e8e54
commit db64df4b1c
6 changed files with 59 additions and 63 deletions

View File

@ -38,7 +38,7 @@
} bnd;
char * text;
}
%token <text> FLOAT
%token <text> SEGFLOAT
%token <text> RANGE
%token <text> PLUMIN
%token <text> EXTENSION
@ -105,13 +105,13 @@ range:
;
boundary:
FLOAT {
SEGFLOAT {
$$.ext = '\0';
$$.sigd = significant_digits($1);
$$.val = seg_atof($1);
}
|
EXTENSION FLOAT {
EXTENSION SEGFLOAT {
$$.ext = $1[0];
$$.sigd = significant_digits($2);
$$.val = seg_atof($2);
@ -119,7 +119,7 @@ boundary:
;
deviation:
FLOAT {
SEGFLOAT {
$$.ext = '\0';
$$.sigd = significant_digits($1);
$$.val = seg_atof($1);