source: buchla-68k/orig/lib/INCLUDE/CMETA.H@ 6888aa2

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

Imported original source code.

  • Property mode set to 100755
File size: 1000 bytes
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 int CMinit(), CMstat();
9extern int CMchr(), CMuchr();
10extern int CMstr(), CMustr();
11extern int CMlong(), CMdig();
12extern int CMlist(), CMulist();
13
14extern int QQsw;
15extern int QQanch;
16
17extern char *QQin;
18extern char *QQip;
19extern char *QQop;
20
21extern long QQnum;
22extern int QQlnum;
23extern char QQchr;
24extern char QQdig;
25
26extern char QQstr[];
27
28#define CM_CHR(c) CMchr(c)
29#define CM_UCHR(c) CMuchr(c)
30
31#define CM_STR(s) CMstr(s)
32#define CM_USTR(s) CMustr(s)
33
34#define CM_NUM CMlong()
35#define CM_DIG CMdig()
36
37#define CM_LIST(l) CMlist(l)
38#define CM_ULIST(l) CMulist(l)
39
40#define CM_OK return(QQsw = TRUE)
41#define CM_NOGO return(QQsw = FALSE)
42
43#define CM_DBLK if (!QQanch) while (*QQip EQ ' ') ++QQip
Note: See TracBrowser for help on using the repository browser.