mirror of
https://github.com/mist-devel/mist-board.git
synced 2026-01-22 02:05:38 +00:00
16 lines
585 B
C
16 lines
585 B
C
/* snytax.h syntax header file for vasm */
|
|
/* (c) in 2002-2005 by Volker Barthelmann and Frank Wille */
|
|
|
|
/* macros to recognize identifiers */
|
|
#if defined(VASM_CPU_PPC)
|
|
#define ISIDSTART(x) ((x)=='.'||(x)=='_'||(x)=='@'||isalpha((unsigned char)(x)))
|
|
#define ISIDCHAR(x) ((x)=='.'||(x)=='_'||(x)=='$'||isalnum((unsigned char)(x)))
|
|
#else
|
|
#define ISIDSTART(x) ((x)=='.'||(x)=='_'||isalpha((unsigned char)(x)))
|
|
#define ISIDCHAR(x) ((x)=='.'||(x)=='_'||isalnum((unsigned char)(x)))
|
|
#endif
|
|
|
|
#ifndef CPU_DEF_ALIGN
|
|
#define CPU_DEF_ALIGN 2 /* power2-alignment is default for .align */
|
|
#endif
|