source: buchla-68k/include/cmeta.h@ 0580615

Last change on this file since 0580615 was 0580615, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Point of no return.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 =============================================================================
3 cmeta.h -- C-Meta parser macro header
4 Version 3 -- 1987-04-30 -- D.N. Lynx Crowe
5 =============================================================================
6*/
7
8extern void CMinit(char *ip);
9extern int CMstat(char *msg);
10extern int CMchr(char c);
11extern int CMuchr(char c);
12extern int CMstr(char *s);
13extern int CMustr(char *s);
14extern int CMlong(void);
15extern int CMdig(void);
16extern int CMlist(char *l[]);
17extern int CMulist(char *l[]);
18
19extern int QQsw;
20extern int QQanch;
21
22extern char *QQin;
23extern char *QQip;
24extern char *QQop;
25
26extern long QQnum;
27extern int QQlnum;
28extern char QQchr;
29extern char QQdig;
30
31extern char QQstr[];
32
33#define CM_CHR(c) CMchr(c)
34#define CM_UCHR(c) CMuchr(c)
35
36#define CM_STR(s) CMstr(s)
37#define CM_USTR(s) CMustr(s)
38
39#define CM_NUM CMlong()
40#define CM_DIG CMdig()
41
42#define CM_LIST(l) CMlist(l)
43#define CM_ULIST(l) CMulist(l)
44
45#define CM_OK return(QQsw = TRUE)
46#define CM_NOGO return(QQsw = FALSE)
47
48#define CM_DBLK if (!QQanch) while (*QQip EQ ' ') ++QQip
Note: See TracBrowser for help on using the repository browser.