mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
0e1539ba0d
Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
25 lines
488 B
C
25 lines
488 B
C
/*
|
|
* contrib/seg/segdata.h
|
|
*/
|
|
typedef struct SEG
|
|
{
|
|
float4 lower;
|
|
float4 upper;
|
|
char l_sigd;
|
|
char u_sigd;
|
|
char l_ext;
|
|
char u_ext;
|
|
} SEG;
|
|
|
|
/* in seg.c */
|
|
extern int significant_digits(const char *str);
|
|
|
|
/* in segscan.l */
|
|
extern int seg_yylex(void);
|
|
extern void seg_yyerror(SEG *result, const char *message) pg_attribute_noreturn();
|
|
extern void seg_scanner_init(const char *str);
|
|
extern void seg_scanner_finish(void);
|
|
|
|
/* in segparse.y */
|
|
extern int seg_yyparse(SEG *result);
|