summaryrefslogtreecommitdiff
path: root/include/mailutils/yyloc.h
blob: 40e395ee21b66623afbbb17a0020accd72c76635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
void mu_file_print_locus_point (FILE *,
				struct mu_locus_point const *lpt);
void mu_file_print_locus_range (FILE *,
				struct mu_locus_range const *loc);

#define YYLTYPE struct mu_locus_range
#define YYLLOC_DEFAULT(Current, Rhs, N)				  \
  do								  \
    {								  \
      if (N)							  \
	{							  \
	  (Current).beg = YYRHSLOC(Rhs, 1).beg;			  \
	  (Current).end = YYRHSLOC(Rhs, N).end;			  \
	}							  \
      else							  \
	{							  \
	  (Current).beg = YYRHSLOC(Rhs, 0).end;			  \
	  (Current).end = (Current).beg;			  \
	}							  \
    } while (0)
#define YY_LOCATION_PRINT(File, Loc)     		        \
  mu_file_print_locus_range (File, &(Loc))

    
  

Return to:

Send suggestions and report system problems to the System administrator.