Definitions in types.h

Preprocessor macro definitions for the types.h header file in the libasr library.

Definitions:

#define MAX_REC_LEN 140
For internal use only.
#define MAX_REC_RESULTS 5
For internal use only.
#define MAX_REC_TERMINAL_LEN 80
The maximum length of a terminal in a recognition result.
#define MAX_REC_TERMINALS 80
The maximum number of terminals in a recognition result.
#define isdigit ( __extension__ ({ int _d = (int)(_c); _d = (_d >= '0' && _d <= '9');}))
Determine whether the specified character is a digit.
#define isspace ( __extension__ ({ int _d = (int)(_c); _d = (_d == ' ' || _d == '\f' || _d == '\n' || _d == '\r'  || _d == '\a' || _d == '\b' || _d == '\t' || _d == '\v');}))
Determine whether the specified character is white space.
#define isblank ( __extension__ ({ int _d = (int)(_c); _d = (_d == ' ' || _d == '\t');}))
Determine whether the specified character is a space or a tab.

Library:

libasr