2 * Copyright (c) 1990,1991 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
18 struct comment *cs_comment;
19 struct comstate *cs_prev;
23 extern struct comment *commatch();
24 extern struct comstate *comstate;
25 extern struct comment magics[];
26 extern struct comment queries[];
27 extern struct comment headers[];
30 #define compeek() (comstate==NULL?NULL:(comstate->cs_comment))
31 #define comgetflags() (comstate->cs_flags)
32 #define comsetflags(f) (comstate->cs_flags=(f))
35 * Comment flags. 0-15 reserved for "global" flags, 16-31 for specific
38 #define C_FULL (1<<0) /* or prefix */
39 #define C_CONTINUE (1<<1)
46 * Magic "number" subtypes.
48 #define CM_NOPRINT (1<<16) /* or print */