* Copyright (c) 1987 The Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Berkeley. The name of the
* University may not be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* @(#)ctags.h 5.2 (Berkeley) %G%
#define ENDLINE 50 /* max length of pattern */
#define MAXTOKEN 250 /* max size of single token */
#define SETLINE {++lineno;lineftell = ftell(inf);}
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
#define iswhite(arg) (_wht[arg]) /* T if char is white */
#define begtoken(arg) (_btk[arg]) /* T if char can start token */
#define intoken(arg) (_itk[arg]) /* T if char can be in token */
#define endtoken(arg) (_etk[arg]) /* T if char ends tokens */
#define isgood(arg) (_gd[arg]) /* T if char can be after ')' */
typedef struct nd_st
{ /* sorting structure */
*right
; /* left and right sons */
char *entry
, /* function or type name */
*pat
; /* search pattern */
int lno
; /* for -x option */
bool been_warned
; /* set if noticed dup */
extern FILE *inf
; /* ioptr for current input file */
extern long lineftell
; /* ftell after getc( inf ) == '\n' */
extern int lineno
, /* line number of current line */
xflag
; /* -x: cxref style output */
extern bool _wht
[0177],_etk
[0177],_itk
[0177],_btk
[0177],_gd
[0177];
extern char lbuf
[BUFSIZ
];