PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ YYLLOC_DEFAULT

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
do \
if (N) \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
while (0)
#define YYRHSLOC(Rhs, K)

Definition at line 1003 of file lwin_wkt_parse.c.

1006 { \
1007 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1008 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
1009 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
1010 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
1011 } \
1012 else \
1013 { \
1014 (Current).first_line = (Current).last_line = \
1015 YYRHSLOC (Rhs, 0).last_line; \
1016 (Current).first_column = (Current).last_column = \
1017 YYRHSLOC (Rhs, 0).last_column; \
1018 } \
1019 while (0)