diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-04-29 20:44:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-04-29 20:44:49 +0000 |
commit | c0cf5c37cd273995268e8c16e90e816a66474ddd (patch) | |
tree | efef512f71c53f064f4ca498692adea7b5d3cb92 /src/include/nodes/parsenodes.h | |
parent | 77d3b98c37da1e11fa32213354b95d280a0e5b63 (diff) |
Some minor further cleanup around A_Const. Don't attach a typecast in
makeFloatConst, and avoid "manual" construction of A_Const nodes in grammar
productions, in favor of using makeXXXConst subroutines.
Diffstat (limited to 'src/include/nodes/parsenodes.h')
-rw-r--r-- | src/include/nodes/parsenodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index fe1410531a6..61c3df53913 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.363 2008/04/29 14:59:17 alvherre Exp $ + * $PostgreSQL: pgsql/src/include/nodes/parsenodes.h,v 1.364 2008/04/29 20:44:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -228,12 +228,12 @@ typedef struct A_Expr } A_Expr; /* - * A_Const - a constant expression + * A_Const - a literal constant */ typedef struct A_Const { NodeTag type; - Value val; /* the value (with the tag) */ + Value val; /* value (includes type info, see value.h) */ } A_Const; /* |