12 lines
427 B
C
12 lines
427 B
C
|
/* syntax.h syntax header file for vasm */
|
||
|
/* (c) in 2002 by Volker Barthelmann */
|
||
|
|
||
|
/* macros to recognize identifiers */
|
||
|
#define ISIDSTART(x) ((x)=='.'||(x)=='_'||isalpha((unsigned char)(x)))
|
||
|
#define ISIDCHAR(x) ((x)=='.'||(x)=='_'||isalnum((unsigned char)(x)))
|
||
|
#define ISBADID(p,l) ((l)==1&&(*(p)=='.'||*(p)=='_'))
|
||
|
#define ISEOL(p) (*(p)=='\0'||*(p)==commentchar)
|
||
|
|
||
|
/* result of a boolean operation */
|
||
|
#define BOOLEAN(x) (x)
|