mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Fix ctags from core dumping on alpha. Let the diffs out to review,
but I timed out. Added FreeBSD CVS header.
This commit is contained in:
parent
6bfb820292
commit
1445426340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56663
@ -1,3 +1,4 @@
|
||||
/* $FreeBSD$ */
|
||||
/*
|
||||
* Copyright (c) 1987, 1993, 1994
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
@ -45,11 +46,14 @@
|
||||
#define SETLINE {++lineno;lineftell = ftell(inf);}
|
||||
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
|
||||
|
||||
#define iswhite(arg) (_wht[(unsigned)arg]) /* T if char is white */
|
||||
#define begtoken(arg) (_btk[(unsigned)arg]) /* T if char can start token */
|
||||
#define intoken(arg) (_itk[(unsigned)arg]) /* T if char can be in token */
|
||||
#define endtoken(arg) (_etk[(unsigned)arg]) /* T if char ends tokens */
|
||||
#define isgood(arg) (_gd[(unsigned)arg]) /* T if char can be after ')' */
|
||||
#define _egrd(idx, array) \
|
||||
(((int)idx < 0)? NO : array [ (int) idx ])
|
||||
|
||||
#define iswhite(arg) _egrd(arg, _wht) /* T if char is white */
|
||||
#define begtoken(arg) _egrd(arg, _btk) /* T if char can start token */
|
||||
#define intoken(arg) _egrd(arg, _itk) /* T if char can be in token */
|
||||
#define endtoken(arg) _egrd(arg, _etk) /* T if char ends tokens */
|
||||
#define isgood(arg) _egrd(arg, _gd) /* T if char can be after ')' */
|
||||
|
||||
typedef struct nd_st { /* sorting structure */
|
||||
struct nd_st *left,
|
||||
|
Loading…
Reference in New Issue
Block a user