35 #define BACKSLASH '\\'
38 #define label_offset 2
53 #ifdef DECLARE_INDENT_GLOBALS
60 #define CHECK_SIZE_CODE(desired_size) \
61 if (e_code + (desired_size) >= l_code) { \
62 int nsize = l_code-s_code + 400 + desired_size; \
63 int code_len = e_code-s_code; \
64 codebuf = (char *) realloc(codebuf, nsize); \
65 if (codebuf == NULL) \
67 e_code = codebuf + code_len + 1; \
68 l_code = codebuf + nsize - 5; \
69 s_code = codebuf + 1; \
71 #define CHECK_SIZE_COM(desired_size) \
72 if (e_com + (desired_size) >= l_com) { \
73 int nsize = l_com-s_com + 400 + desired_size; \
74 int com_len = e_com - s_com; \
76 if (last_bl != NULL) \
77 blank_pos = last_bl - combuf; \
80 combuf = (char *) realloc(combuf, nsize); \
83 e_com = combuf + com_len + 1; \
85 last_bl = combuf + blank_pos; \
86 l_com = combuf + nsize - 5; \
89 #define CHECK_SIZE_LAB(desired_size) \
90 if (e_lab + (desired_size) >= l_lab) { \
91 int nsize = l_lab-s_lab + 400 + desired_size; \
92 int label_len = e_lab - s_lab; \
93 labbuf = (char *) realloc(labbuf, nsize); \
96 e_lab = labbuf + label_len + 1; \
97 l_lab = labbuf + nsize - 5; \
100 #define CHECK_SIZE_TOKEN(desired_size) \
101 if (e_token + (desired_size) >= l_token) { \
102 int nsize = l_token-s_token + 400 + desired_size; \
103 int token_len = e_token - s_token; \
104 tokenbuf = (char *) realloc(tokenbuf, nsize); \
105 if (tokenbuf == NULL) \
107 e_token = tokenbuf + token_len + 1; \
108 l_token = tokenbuf + nsize - 5; \
109 s_token = tokenbuf + 1; \
127 #define token s_token
337 #ifdef DECLARE_INDENT_GLOBALS
int blanklines_after_declarations
int block_comment_max_col
int blanklines_after_procs
int postfix_blankline_requested
struct parser_state state_stack[5]
int prefix_blankline_requested
int blanklines_before_blockcomments
int extra_expression_indent
int format_block_comments
int comment_delimiter_on_blankline
struct parser_state match_state[5]
int blanklines_around_conditional_compilation
int swallow_optional_blanklines
int lineup_to_parens_always
int blanklines_after_declarations_at_proctop
int in_parameter_declaration