#include "tree_sitter/parser.h"
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
#endif
#define LANGUAGE_VERSION 15
#define STATE_COUNT 217
#define LARGE_STATE_COUNT 2
#define SYMBOL_COUNT 90
#define ALIAS_COUNT 0
#define TOKEN_COUNT 43
#define EXTERNAL_TOKEN_COUNT 0
#define FIELD_COUNT 6
#define MAX_ALIAS_SEQUENCE_LENGTH 10
#define MAX_RESERVED_WORD_SET_SIZE 0
#define PRODUCTION_ID_COUNT 16
#define SUPERTYPE_COUNT 0
enum ts_symbol_identifiers {
anon_sym_type = 1,
anon_sym_EQ = 2,
anon_sym_LBRACE = 3,
anon_sym_RBRACE = 4,
anon_sym_function = 5,
anon_sym_LPAREN = 6,
anon_sym_RPAREN = 7,
anon_sym_COMMA = 8,
anon_sym_DOT_DOT_DOT = 9,
anon_sym_env = 10,
anon_sym_call = 11,
anon_sym_PERCENT = 12,
anon_sym_AT = 13,
anon_sym_DOLLAR = 14,
anon_sym_COLON = 15,
anon_sym_sb = 16,
anon_sym_ub = 17,
anon_sym_sh = 18,
anon_sym_uh = 19,
anon_sym_b = 20,
anon_sym_h = 21,
anon_sym_w = 22,
anon_sym_l = 23,
anon_sym_s = 24,
anon_sym_d = 25,
anon_sym_data = 26,
anon_sym_PLUS = 27,
anon_sym_DASH = 28,
anon_sym_s_ = 29,
anon_sym_d_ = 30,
anon_sym_thread = 31,
anon_sym_z = 32,
anon_sym_export = 33,
anon_sym_section = 34,
anon_sym_align = 35,
anon_sym_POUND = 36,
aux_sym_COMMENT_token1 = 37,
sym_STRING = 38,
sym_NUMBER = 39,
sym_FP = 40,
sym_IDENT = 41,
sym__newline = 42,
sym_source_file = 43,
sym_TYPEDEF = 44,
sym__regular_type = 45,
sym_FUNCDEF = 46,
sym_FUNCDEF_PARAMS = 47,
sym_FUNCDEF_PARAM = 48,
sym_BLOCK = 49,
sym_INST = 50,
sym_CALL_INST = 51,
sym__call_params = 52,
sym__call_param = 53,
sym_NORMAL_INST = 54,
sym__inst_args = 55,
sym__inst_arg = 56,
sym_LOCAL = 57,
sym_LABEL = 58,
sym_GLOBAL = 59,
sym_AGGREGATE = 60,
sym_ABITY = 61,
sym__union_type = 62,
sym__opaque_type = 63,
sym__types = 64,
sym_SUBTY = 65,
sym_SUBWTY = 66,
sym_EXTTY = 67,
sym_BASETY = 68,
sym_DATADEF = 69,
sym_DATAITEM = 70,
sym__dataitem_const = 71,
sym_DYNCONST = 72,
sym_VAL = 73,
sym__datadef_data = 74,
sym_LINKAGE = 75,
sym_SECNAME = 76,
sym_SECFLAGS = 77,
sym__alignment = 78,
sym_COMMENT = 79,
aux_sym_source_file_repeat1 = 80,
aux_sym_FUNCDEF_repeat1 = 81,
aux_sym_FUNCDEF_PARAMS_repeat1 = 82,
aux_sym_BLOCK_repeat1 = 83,
aux_sym__call_params_repeat1 = 84,
aux_sym__inst_args_repeat1 = 85,
aux_sym__union_type_repeat1 = 86,
aux_sym__types_repeat1 = 87,
aux_sym_DATADEF_repeat1 = 88,
aux_sym__datadef_data_repeat1 = 89,
};
static const char * const ts_symbol_names[] = {
[ts_builtin_sym_end] = "end",
[anon_sym_type] = "type",
[anon_sym_EQ] = "=",
[anon_sym_LBRACE] = "{",
[anon_sym_RBRACE] = "}",
[anon_sym_function] = "function",
[anon_sym_LPAREN] = "(",
[anon_sym_RPAREN] = ")",
[anon_sym_COMMA] = ",",
[anon_sym_DOT_DOT_DOT] = "...",
[anon_sym_env] = "env",
[anon_sym_call] = "call",
[anon_sym_PERCENT] = "%",
[anon_sym_AT] = "@",
[anon_sym_DOLLAR] = "$",
[anon_sym_COLON] = ":",
[anon_sym_sb] = "sb",
[anon_sym_ub] = "ub",
[anon_sym_sh] = "sh",
[anon_sym_uh] = "uh",
[anon_sym_b] = "b",
[anon_sym_h] = "h",
[anon_sym_w] = "w",
[anon_sym_l] = "l",
[anon_sym_s] = "s",
[anon_sym_d] = "d",
[anon_sym_data] = "data",
[anon_sym_PLUS] = "+",
[anon_sym_DASH] = "-",
[anon_sym_s_] = "s_",
[anon_sym_d_] = "d_",
[anon_sym_thread] = "thread",
[anon_sym_z] = "z",
[anon_sym_export] = "export",
[anon_sym_section] = "section",
[anon_sym_align] = "align",
[anon_sym_POUND] = "#",
[aux_sym_COMMENT_token1] = "COMMENT_token1",
[sym_STRING] = "STRING",
[sym_NUMBER] = "NUMBER",
[sym_FP] = "FP",
[sym_IDENT] = "IDENT",
[sym__newline] = "_newline",
[sym_source_file] = "source_file",
[sym_TYPEDEF] = "TYPEDEF",
[sym__regular_type] = "_regular_type",
[sym_FUNCDEF] = "FUNCDEF",
[sym_FUNCDEF_PARAMS] = "FUNCDEF_PARAMS",
[sym_FUNCDEF_PARAM] = "FUNCDEF_PARAM",
[sym_BLOCK] = "BLOCK",
[sym_INST] = "INST",
[sym_CALL_INST] = "CALL_INST",
[sym__call_params] = "_call_params",
[sym__call_param] = "_call_param",
[sym_NORMAL_INST] = "NORMAL_INST",
[sym__inst_args] = "_inst_args",
[sym__inst_arg] = "_inst_arg",
[sym_LOCAL] = "LOCAL",
[sym_LABEL] = "LABEL",
[sym_GLOBAL] = "GLOBAL",
[sym_AGGREGATE] = "AGGREGATE",
[sym_ABITY] = "ABITY",
[sym__union_type] = "_union_type",
[sym__opaque_type] = "_opaque_type",
[sym__types] = "_types",
[sym_SUBTY] = "SUBTY",
[sym_SUBWTY] = "SUBWTY",
[sym_EXTTY] = "EXTTY",
[sym_BASETY] = "BASETY",
[sym_DATADEF] = "DATADEF",
[sym_DATAITEM] = "DATAITEM",
[sym__dataitem_const] = "_dataitem_const",
[sym_DYNCONST] = "DYNCONST",
[sym_VAL] = "VAL",
[sym__datadef_data] = "_datadef_data",
[sym_LINKAGE] = "LINKAGE",
[sym_SECNAME] = "SECNAME",
[sym_SECFLAGS] = "SECFLAGS",
[sym__alignment] = "_alignment",
[sym_COMMENT] = "COMMENT",
[aux_sym_source_file_repeat1] = "source_file_repeat1",
[aux_sym_FUNCDEF_repeat1] = "FUNCDEF_repeat1",
[aux_sym_FUNCDEF_PARAMS_repeat1] = "FUNCDEF_PARAMS_repeat1",
[aux_sym_BLOCK_repeat1] = "BLOCK_repeat1",
[aux_sym__call_params_repeat1] = "_call_params_repeat1",
[aux_sym__inst_args_repeat1] = "_inst_args_repeat1",
[aux_sym__union_type_repeat1] = "_union_type_repeat1",
[aux_sym__types_repeat1] = "_types_repeat1",
[aux_sym_DATADEF_repeat1] = "DATADEF_repeat1",
[aux_sym__datadef_data_repeat1] = "_datadef_data_repeat1",
};
static const TSSymbol ts_symbol_map[] = {
[ts_builtin_sym_end] = ts_builtin_sym_end,
[anon_sym_type] = anon_sym_type,
[anon_sym_EQ] = anon_sym_EQ,
[anon_sym_LBRACE] = anon_sym_LBRACE,
[anon_sym_RBRACE] = anon_sym_RBRACE,
[anon_sym_function] = anon_sym_function,
[anon_sym_LPAREN] = anon_sym_LPAREN,
[anon_sym_RPAREN] = anon_sym_RPAREN,
[anon_sym_COMMA] = anon_sym_COMMA,
[anon_sym_DOT_DOT_DOT] = anon_sym_DOT_DOT_DOT,
[anon_sym_env] = anon_sym_env,
[anon_sym_call] = anon_sym_call,
[anon_sym_PERCENT] = anon_sym_PERCENT,
[anon_sym_AT] = anon_sym_AT,
[anon_sym_DOLLAR] = anon_sym_DOLLAR,
[anon_sym_COLON] = anon_sym_COLON,
[anon_sym_sb] = anon_sym_sb,
[anon_sym_ub] = anon_sym_ub,
[anon_sym_sh] = anon_sym_sh,
[anon_sym_uh] = anon_sym_uh,
[anon_sym_b] = anon_sym_b,
[anon_sym_h] = anon_sym_h,
[anon_sym_w] = anon_sym_w,
[anon_sym_l] = anon_sym_l,
[anon_sym_s] = anon_sym_s,
[anon_sym_d] = anon_sym_d,
[anon_sym_data] = anon_sym_data,
[anon_sym_PLUS] = anon_sym_PLUS,
[anon_sym_DASH] = anon_sym_DASH,
[anon_sym_s_] = anon_sym_s_,
[anon_sym_d_] = anon_sym_d_,
[anon_sym_thread] = anon_sym_thread,
[anon_sym_z] = anon_sym_z,
[anon_sym_export] = anon_sym_export,
[anon_sym_section] = anon_sym_section,
[anon_sym_align] = anon_sym_align,
[anon_sym_POUND] = anon_sym_POUND,
[aux_sym_COMMENT_token1] = aux_sym_COMMENT_token1,
[sym_STRING] = sym_STRING,
[sym_NUMBER] = sym_NUMBER,
[sym_FP] = sym_FP,
[sym_IDENT] = sym_IDENT,
[sym__newline] = sym__newline,
[sym_source_file] = sym_source_file,
[sym_TYPEDEF] = sym_TYPEDEF,
[sym__regular_type] = sym__regular_type,
[sym_FUNCDEF] = sym_FUNCDEF,
[sym_FUNCDEF_PARAMS] = sym_FUNCDEF_PARAMS,
[sym_FUNCDEF_PARAM] = sym_FUNCDEF_PARAM,
[sym_BLOCK] = sym_BLOCK,
[sym_INST] = sym_INST,
[sym_CALL_INST] = sym_CALL_INST,
[sym__call_params] = sym__call_params,
[sym__call_param] = sym__call_param,
[sym_NORMAL_INST] = sym_NORMAL_INST,
[sym__inst_args] = sym__inst_args,
[sym__inst_arg] = sym__inst_arg,
[sym_LOCAL] = sym_LOCAL,
[sym_LABEL] = sym_LABEL,
[sym_GLOBAL] = sym_GLOBAL,
[sym_AGGREGATE] = sym_AGGREGATE,
[sym_ABITY] = sym_ABITY,
[sym__union_type] = sym__union_type,
[sym__opaque_type] = sym__opaque_type,
[sym__types] = sym__types,
[sym_SUBTY] = sym_SUBTY,
[sym_SUBWTY] = sym_SUBWTY,
[sym_EXTTY] = sym_EXTTY,
[sym_BASETY] = sym_BASETY,
[sym_DATADEF] = sym_DATADEF,
[sym_DATAITEM] = sym_DATAITEM,
[sym__dataitem_const] = sym__dataitem_const,
[sym_DYNCONST] = sym_DYNCONST,
[sym_VAL] = sym_VAL,
[sym__datadef_data] = sym__datadef_data,
[sym_LINKAGE] = sym_LINKAGE,
[sym_SECNAME] = sym_SECNAME,
[sym_SECFLAGS] = sym_SECFLAGS,
[sym__alignment] = sym__alignment,
[sym_COMMENT] = sym_COMMENT,
[aux_sym_source_file_repeat1] = aux_sym_source_file_repeat1,
[aux_sym_FUNCDEF_repeat1] = aux_sym_FUNCDEF_repeat1,
[aux_sym_FUNCDEF_PARAMS_repeat1] = aux_sym_FUNCDEF_PARAMS_repeat1,
[aux_sym_BLOCK_repeat1] = aux_sym_BLOCK_repeat1,
[aux_sym__call_params_repeat1] = aux_sym__call_params_repeat1,
[aux_sym__inst_args_repeat1] = aux_sym__inst_args_repeat1,
[aux_sym__union_type_repeat1] = aux_sym__union_type_repeat1,
[aux_sym__types_repeat1] = aux_sym__types_repeat1,
[aux_sym_DATADEF_repeat1] = aux_sym_DATADEF_repeat1,
[aux_sym__datadef_data_repeat1] = aux_sym__datadef_data_repeat1,
};
static const TSSymbolMetadata ts_symbol_metadata[] = {
[ts_builtin_sym_end] = {
.visible = false,
.named = true,
},
[anon_sym_type] = {
.visible = true,
.named = false,
},
[anon_sym_EQ] = {
.visible = true,
.named = false,
},
[anon_sym_LBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_RBRACE] = {
.visible = true,
.named = false,
},
[anon_sym_function] = {
.visible = true,
.named = false,
},
[anon_sym_LPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_RPAREN] = {
.visible = true,
.named = false,
},
[anon_sym_COMMA] = {
.visible = true,
.named = false,
},
[anon_sym_DOT_DOT_DOT] = {
.visible = true,
.named = false,
},
[anon_sym_env] = {
.visible = true,
.named = false,
},
[anon_sym_call] = {
.visible = true,
.named = false,
},
[anon_sym_PERCENT] = {
.visible = true,
.named = false,
},
[anon_sym_AT] = {
.visible = true,
.named = false,
},
[anon_sym_DOLLAR] = {
.visible = true,
.named = false,
},
[anon_sym_COLON] = {
.visible = true,
.named = false,
},
[anon_sym_sb] = {
.visible = true,
.named = false,
},
[anon_sym_ub] = {
.visible = true,
.named = false,
},
[anon_sym_sh] = {
.visible = true,
.named = false,
},
[anon_sym_uh] = {
.visible = true,
.named = false,
},
[anon_sym_b] = {
.visible = true,
.named = false,
},
[anon_sym_h] = {
.visible = true,
.named = false,
},
[anon_sym_w] = {
.visible = true,
.named = false,
},
[anon_sym_l] = {
.visible = true,
.named = false,
},
[anon_sym_s] = {
.visible = true,
.named = false,
},
[anon_sym_d] = {
.visible = true,
.named = false,
},
[anon_sym_data] = {
.visible = true,
.named = false,
},
[anon_sym_PLUS] = {
.visible = true,
.named = false,
},
[anon_sym_DASH] = {
.visible = true,
.named = false,
},
[anon_sym_s_] = {
.visible = true,
.named = false,
},
[anon_sym_d_] = {
.visible = true,
.named = false,
},
[anon_sym_thread] = {
.visible = true,
.named = false,
},
[anon_sym_z] = {
.visible = true,
.named = false,
},
[anon_sym_export] = {
.visible = true,
.named = false,
},
[anon_sym_section] = {
.visible = true,
.named = false,
},
[anon_sym_align] = {
.visible = true,
.named = false,
},
[anon_sym_POUND] = {
.visible = true,
.named = false,
},
[aux_sym_COMMENT_token1] = {
.visible = false,
.named = false,
},
[sym_STRING] = {
.visible = true,
.named = true,
},
[sym_NUMBER] = {
.visible = true,
.named = true,
},
[sym_FP] = {
.visible = true,
.named = true,
},
[sym_IDENT] = {
.visible = true,
.named = true,
},
[sym__newline] = {
.visible = false,
.named = true,
},
[sym_source_file] = {
.visible = true,
.named = true,
},
[sym_TYPEDEF] = {
.visible = true,
.named = true,
},
[sym__regular_type] = {
.visible = false,
.named = true,
},
[sym_FUNCDEF] = {
.visible = true,
.named = true,
},
[sym_FUNCDEF_PARAMS] = {
.visible = true,
.named = true,
},
[sym_FUNCDEF_PARAM] = {
.visible = true,
.named = true,
},
[sym_BLOCK] = {
.visible = true,
.named = true,
},
[sym_INST] = {
.visible = true,
.named = true,
},
[sym_CALL_INST] = {
.visible = true,
.named = true,
},
[sym__call_params] = {
.visible = false,
.named = true,
},
[sym__call_param] = {
.visible = false,
.named = true,
},
[sym_NORMAL_INST] = {
.visible = true,
.named = true,
},
[sym__inst_args] = {
.visible = false,
.named = true,
},
[sym__inst_arg] = {
.visible = false,
.named = true,
},
[sym_LOCAL] = {
.visible = true,
.named = true,
},
[sym_LABEL] = {
.visible = true,
.named = true,
},
[sym_GLOBAL] = {
.visible = true,
.named = true,
},
[sym_AGGREGATE] = {
.visible = true,
.named = true,
},
[sym_ABITY] = {
.visible = true,
.named = true,
},
[sym__union_type] = {
.visible = false,
.named = true,
},
[sym__opaque_type] = {
.visible = false,
.named = true,
},
[sym__types] = {
.visible = false,
.named = true,
},
[sym_SUBTY] = {
.visible = true,
.named = true,
},
[sym_SUBWTY] = {
.visible = true,
.named = true,
},
[sym_EXTTY] = {
.visible = true,
.named = true,
},
[sym_BASETY] = {
.visible = true,
.named = true,
},
[sym_DATADEF] = {
.visible = true,
.named = true,
},
[sym_DATAITEM] = {
.visible = true,
.named = true,
},
[sym__dataitem_const] = {
.visible = false,
.named = true,
},
[sym_DYNCONST] = {
.visible = true,
.named = true,
},
[sym_VAL] = {
.visible = true,
.named = true,
},
[sym__datadef_data] = {
.visible = false,
.named = true,
},
[sym_LINKAGE] = {
.visible = true,
.named = true,
},
[sym_SECNAME] = {
.visible = true,
.named = true,
},
[sym_SECFLAGS] = {
.visible = true,
.named = true,
},
[sym__alignment] = {
.visible = false,
.named = true,
},
[sym_COMMENT] = {
.visible = true,
.named = true,
},
[aux_sym_source_file_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_FUNCDEF_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_FUNCDEF_PARAMS_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_BLOCK_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__call_params_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__inst_args_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__union_type_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__types_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym_DATADEF_repeat1] = {
.visible = false,
.named = false,
},
[aux_sym__datadef_data_repeat1] = {
.visible = false,
.named = false,
},
};
enum ts_field_identifiers {
field_alignment = 1,
field_assignment = 2,
field_label = 3,
field_name = 4,
field_params = 5,
field_type = 6,
};
static const char * const ts_field_names[] = {
[0] = NULL,
[field_alignment] = "alignment",
[field_assignment] = "assignment",
[field_label] = "label",
[field_name] = "name",
[field_params] = "params",
[field_type] = "type",
};
static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = {
[1] = {.index = 0, .length = 1},
[2] = {.index = 1, .length = 2},
[3] = {.index = 3, .length = 1},
[4] = {.index = 4, .length = 1},
[5] = {.index = 5, .length = 2},
[6] = {.index = 7, .length = 1},
[7] = {.index = 8, .length = 2},
[8] = {.index = 10, .length = 1},
[9] = {.index = 11, .length = 1},
[10] = {.index = 12, .length = 1},
[11] = {.index = 13, .length = 2},
[12] = {.index = 15, .length = 2},
[13] = {.index = 17, .length = 1},
[14] = {.index = 18, .length = 2},
[15] = {.index = 20, .length = 1},
};
static const TSFieldMapEntry ts_field_map_entries[] = {
[0] =
{field_alignment, 0, .inherited = true},
[1] =
{field_alignment, 0, .inherited = true},
{field_name, 0, .inherited = true},
[3] =
{field_name, 1},
[4] =
{field_alignment, 1},
[5] =
{field_name, 1},
{field_type, 0},
[7] =
{field_alignment, 3, .inherited = true},
[8] =
{field_alignment, 3, .inherited = true},
{field_name, 1},
[10] =
{field_label, 0},
[11] =
{field_name, 2},
[12] =
{field_name, 0},
[13] =
{field_alignment, 4, .inherited = true},
{field_name, 2},
[15] =
{field_name, 2},
{field_params, 4},
[17] =
{field_name, 3},
[18] =
{field_name, 3},
{field_params, 5},
[20] =
{field_assignment, 0},
};
static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = {
[0] = {0},
};
static const uint16_t ts_non_terminal_alias_map[] = {
0,
};
static const TSStateId ts_primary_state_ids[STATE_COUNT] = {
[0] = 0,
[1] = 1,
[2] = 2,
[3] = 3,
[4] = 4,
[5] = 5,
[6] = 6,
[7] = 7,
[8] = 8,
[9] = 9,
[10] = 10,
[11] = 11,
[12] = 12,
[13] = 13,
[14] = 14,
[15] = 15,
[16] = 16,
[17] = 17,
[18] = 18,
[19] = 19,
[20] = 20,
[21] = 21,
[22] = 22,
[23] = 23,
[24] = 24,
[25] = 25,
[26] = 26,
[27] = 27,
[28] = 28,
[29] = 29,
[30] = 30,
[31] = 31,
[32] = 32,
[33] = 33,
[34] = 34,
[35] = 35,
[36] = 36,
[37] = 37,
[38] = 38,
[39] = 39,
[40] = 40,
[41] = 41,
[42] = 42,
[43] = 43,
[44] = 44,
[45] = 45,
[46] = 46,
[47] = 47,
[48] = 48,
[49] = 49,
[50] = 50,
[51] = 51,
[52] = 52,
[53] = 53,
[54] = 54,
[55] = 55,
[56] = 56,
[57] = 57,
[58] = 58,
[59] = 59,
[60] = 60,
[61] = 61,
[62] = 62,
[63] = 63,
[64] = 64,
[65] = 65,
[66] = 66,
[67] = 67,
[68] = 68,
[69] = 69,
[70] = 70,
[71] = 71,
[72] = 72,
[73] = 73,
[74] = 74,
[75] = 75,
[76] = 76,
[77] = 77,
[78] = 78,
[79] = 79,
[80] = 80,
[81] = 81,
[82] = 82,
[83] = 83,
[84] = 84,
[85] = 52,
[86] = 86,
[87] = 87,
[88] = 62,
[89] = 89,
[90] = 90,
[91] = 91,
[92] = 92,
[93] = 93,
[94] = 94,
[95] = 95,
[96] = 96,
[97] = 97,
[98] = 98,
[99] = 99,
[100] = 100,
[101] = 101,
[102] = 83,
[103] = 103,
[104] = 84,
[105] = 105,
[106] = 106,
[107] = 107,
[108] = 108,
[109] = 109,
[110] = 110,
[111] = 111,
[112] = 112,
[113] = 113,
[114] = 114,
[115] = 115,
[116] = 116,
[117] = 117,
[118] = 118,
[119] = 119,
[120] = 120,
[121] = 121,
[122] = 122,
[123] = 123,
[124] = 124,
[125] = 125,
[126] = 126,
[127] = 127,
[128] = 128,
[129] = 129,
[130] = 130,
[131] = 131,
[132] = 132,
[133] = 133,
[134] = 134,
[135] = 135,
[136] = 21,
[137] = 137,
[138] = 138,
[139] = 139,
[140] = 140,
[141] = 141,
[142] = 142,
[143] = 143,
[144] = 144,
[145] = 145,
[146] = 146,
[147] = 147,
[148] = 148,
[149] = 149,
[150] = 150,
[151] = 151,
[152] = 152,
[153] = 153,
[154] = 154,
[155] = 155,
[156] = 156,
[157] = 157,
[158] = 158,
[159] = 159,
[160] = 160,
[161] = 47,
[162] = 151,
[163] = 163,
[164] = 49,
[165] = 50,
[166] = 95,
[167] = 167,
[168] = 153,
[169] = 157,
[170] = 141,
[171] = 171,
[172] = 172,
[173] = 173,
[174] = 174,
[175] = 175,
[176] = 176,
[177] = 177,
[178] = 178,
[179] = 179,
[180] = 180,
[181] = 181,
[182] = 182,
[183] = 183,
[184] = 184,
[185] = 185,
[186] = 186,
[187] = 187,
[188] = 188,
[189] = 189,
[190] = 190,
[191] = 191,
[192] = 192,
[193] = 193,
[194] = 194,
[195] = 195,
[196] = 196,
[197] = 197,
[198] = 198,
[199] = 199,
[200] = 200,
[201] = 201,
[202] = 202,
[203] = 203,
[204] = 204,
[205] = 205,
[206] = 206,
[207] = 207,
[208] = 198,
[209] = 175,
[210] = 200,
[211] = 172,
[212] = 199,
[213] = 201,
[214] = 183,
[215] = 215,
[216] = 216,
};
static bool ts_lex(TSLexer *lexer, TSStateId state) {
START_LEXER();
eof = lexer->eof(lexer);
switch (state) {
case 0:
if (eof) ADVANCE(51);
ADVANCE_MAP(
'"', 2,
'#', 89,
'$', 66,
'%', 64,
'(', 57,
')', 58,
'+', 80,
',', 59,
'-', 81,
'.', 5,
':', 67,
'=', 53,
'@', 65,
'a', 26,
'b', 72,
'c', 13,
'd', 78,
'e', 29,
'f', 45,
'h', 73,
'l', 75,
's', 77,
't', 22,
'u', 14,
'w', 74,
'z', 85,
'{', 54,
'}', 55,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(0);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(93);
END_STATE();
case 1:
ADVANCE_MAP(
'\n', 101,
'\r', 101,
'%', 64,
',', 59,
'-', 81,
'@', 65,
'd', 7,
's', 9,
't', 21,
);
if (('\t' <= lookahead && lookahead <= '\f') ||
lookahead == ' ') SKIP(1);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94);
END_STATE();
case 2:
if (lookahead == '"') ADVANCE(92);
if (lookahead != 0) ADVANCE(2);
END_STATE();
case 3:
if (lookahead == '#') ADVANCE(89);
if (lookahead == '$') ADVANCE(66);
if (lookahead == '%') ADVANCE(64);
if (lookahead == '@') ADVANCE(65);
if (lookahead == 'c') ADVANCE(97);
if (lookahead == '}') ADVANCE(55);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(3);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 4:
if (lookahead == '.') ADVANCE(60);
END_STATE();
case 5:
if (lookahead == '.') ADVANCE(4);
END_STATE();
case 6:
ADVANCE_MAP(
':', 67,
'b', 72,
'd', 78,
'h', 73,
'l', 75,
's', 76,
'w', 74,
'z', 85,
'{', 54,
'}', 55,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(6);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94);
END_STATE();
case 7:
if (lookahead == '_') ADVANCE(83);
END_STATE();
case 8:
if (lookahead == '_') ADVANCE(83);
if (lookahead == 'a') ADVANCE(43);
END_STATE();
case 9:
if (lookahead == '_') ADVANCE(82);
END_STATE();
case 10:
if (lookahead == '_') ADVANCE(82);
if (lookahead == 'e') ADVANCE(16);
END_STATE();
case 11:
if (lookahead == 'a') ADVANCE(17);
END_STATE();
case 12:
if (lookahead == 'a') ADVANCE(79);
END_STATE();
case 13:
if (lookahead == 'a') ADVANCE(28);
END_STATE();
case 14:
if (lookahead == 'b') ADVANCE(69);
if (lookahead == 'h') ADVANCE(71);
END_STATE();
case 15:
if (lookahead == 'c') ADVANCE(42);
END_STATE();
case 16:
if (lookahead == 'c') ADVANCE(44);
END_STATE();
case 17:
if (lookahead == 'd') ADVANCE(84);
END_STATE();
case 18:
if (lookahead == 'e') ADVANCE(52);
END_STATE();
case 19:
if (lookahead == 'e') ADVANCE(11);
END_STATE();
case 20:
if (lookahead == 'g') ADVANCE(31);
END_STATE();
case 21:
if (lookahead == 'h') ADVANCE(39);
END_STATE();
case 22:
if (lookahead == 'h') ADVANCE(39);
if (lookahead == 'y') ADVANCE(38);
END_STATE();
case 23:
if (lookahead == 'i') ADVANCE(20);
END_STATE();
case 24:
if (lookahead == 'i') ADVANCE(35);
END_STATE();
case 25:
if (lookahead == 'i') ADVANCE(36);
END_STATE();
case 26:
if (lookahead == 'l') ADVANCE(23);
END_STATE();
case 27:
if (lookahead == 'l') ADVANCE(62);
END_STATE();
case 28:
if (lookahead == 'l') ADVANCE(27);
END_STATE();
case 29:
if (lookahead == 'n') ADVANCE(46);
if (lookahead == 'x') ADVANCE(37);
END_STATE();
case 30:
if (lookahead == 'n') ADVANCE(15);
END_STATE();
case 31:
if (lookahead == 'n') ADVANCE(88);
END_STATE();
case 32:
if (lookahead == 'n') ADVANCE(56);
END_STATE();
case 33:
if (lookahead == 'n') ADVANCE(87);
END_STATE();
case 34:
if (lookahead == 'o') ADVANCE(40);
END_STATE();
case 35:
if (lookahead == 'o') ADVANCE(32);
END_STATE();
case 36:
if (lookahead == 'o') ADVANCE(33);
END_STATE();
case 37:
if (lookahead == 'p') ADVANCE(34);
END_STATE();
case 38:
if (lookahead == 'p') ADVANCE(18);
END_STATE();
case 39:
if (lookahead == 'r') ADVANCE(19);
END_STATE();
case 40:
if (lookahead == 'r') ADVANCE(41);
END_STATE();
case 41:
if (lookahead == 't') ADVANCE(86);
END_STATE();
case 42:
if (lookahead == 't') ADVANCE(24);
END_STATE();
case 43:
if (lookahead == 't') ADVANCE(12);
END_STATE();
case 44:
if (lookahead == 't') ADVANCE(25);
END_STATE();
case 45:
if (lookahead == 'u') ADVANCE(30);
END_STATE();
case 46:
if (lookahead == 'v') ADVANCE(61);
END_STATE();
case 47:
if (lookahead == 'x') ADVANCE(37);
END_STATE();
case 48:
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(48);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 49:
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(49);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(95);
END_STATE();
case 50:
if (eof) ADVANCE(51);
ADVANCE_MAP(
'"', 2,
'#', 89,
'$', 66,
'%', 64,
'(', 57,
')', 58,
'+', 80,
',', 59,
'-', 81,
'=', 53,
'@', 65,
'd', 8,
'e', 47,
'f', 45,
's', 10,
't', 22,
'}', 55,
);
if (('\t' <= lookahead && lookahead <= '\r') ||
lookahead == ' ') SKIP(50);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94);
END_STATE();
case 51:
ACCEPT_TOKEN(ts_builtin_sym_end);
END_STATE();
case 52:
ACCEPT_TOKEN(anon_sym_type);
END_STATE();
case 53:
ACCEPT_TOKEN(anon_sym_EQ);
END_STATE();
case 54:
ACCEPT_TOKEN(anon_sym_LBRACE);
END_STATE();
case 55:
ACCEPT_TOKEN(anon_sym_RBRACE);
END_STATE();
case 56:
ACCEPT_TOKEN(anon_sym_function);
END_STATE();
case 57:
ACCEPT_TOKEN(anon_sym_LPAREN);
END_STATE();
case 58:
ACCEPT_TOKEN(anon_sym_RPAREN);
END_STATE();
case 59:
ACCEPT_TOKEN(anon_sym_COMMA);
END_STATE();
case 60:
ACCEPT_TOKEN(anon_sym_DOT_DOT_DOT);
END_STATE();
case 61:
ACCEPT_TOKEN(anon_sym_env);
END_STATE();
case 62:
ACCEPT_TOKEN(anon_sym_call);
END_STATE();
case 63:
ACCEPT_TOKEN(anon_sym_call);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 64:
ACCEPT_TOKEN(anon_sym_PERCENT);
END_STATE();
case 65:
ACCEPT_TOKEN(anon_sym_AT);
END_STATE();
case 66:
ACCEPT_TOKEN(anon_sym_DOLLAR);
END_STATE();
case 67:
ACCEPT_TOKEN(anon_sym_COLON);
END_STATE();
case 68:
ACCEPT_TOKEN(anon_sym_sb);
END_STATE();
case 69:
ACCEPT_TOKEN(anon_sym_ub);
END_STATE();
case 70:
ACCEPT_TOKEN(anon_sym_sh);
END_STATE();
case 71:
ACCEPT_TOKEN(anon_sym_uh);
END_STATE();
case 72:
ACCEPT_TOKEN(anon_sym_b);
END_STATE();
case 73:
ACCEPT_TOKEN(anon_sym_h);
END_STATE();
case 74:
ACCEPT_TOKEN(anon_sym_w);
END_STATE();
case 75:
ACCEPT_TOKEN(anon_sym_l);
END_STATE();
case 76:
ACCEPT_TOKEN(anon_sym_s);
END_STATE();
case 77:
ACCEPT_TOKEN(anon_sym_s);
if (lookahead == 'b') ADVANCE(68);
if (lookahead == 'h') ADVANCE(70);
END_STATE();
case 78:
ACCEPT_TOKEN(anon_sym_d);
END_STATE();
case 79:
ACCEPT_TOKEN(anon_sym_data);
END_STATE();
case 80:
ACCEPT_TOKEN(anon_sym_PLUS);
END_STATE();
case 81:
ACCEPT_TOKEN(anon_sym_DASH);
END_STATE();
case 82:
ACCEPT_TOKEN(anon_sym_s_);
END_STATE();
case 83:
ACCEPT_TOKEN(anon_sym_d_);
END_STATE();
case 84:
ACCEPT_TOKEN(anon_sym_thread);
END_STATE();
case 85:
ACCEPT_TOKEN(anon_sym_z);
END_STATE();
case 86:
ACCEPT_TOKEN(anon_sym_export);
END_STATE();
case 87:
ACCEPT_TOKEN(anon_sym_section);
END_STATE();
case 88:
ACCEPT_TOKEN(anon_sym_align);
END_STATE();
case 89:
ACCEPT_TOKEN(anon_sym_POUND);
END_STATE();
case 90:
ACCEPT_TOKEN(aux_sym_COMMENT_token1);
if (lookahead == '\t' ||
(0x0b <= lookahead && lookahead <= '\r') ||
lookahead == ' ') ADVANCE(90);
if (lookahead != 0 &&
(lookahead < '\t' || '\r' < lookahead)) ADVANCE(91);
END_STATE();
case 91:
ACCEPT_TOKEN(aux_sym_COMMENT_token1);
if (lookahead != 0 &&
lookahead != '\n') ADVANCE(91);
END_STATE();
case 92:
ACCEPT_TOKEN(sym_STRING);
END_STATE();
case 93:
ACCEPT_TOKEN(sym_NUMBER);
if (lookahead == '.') ADVANCE(96);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(93);
END_STATE();
case 94:
ACCEPT_TOKEN(sym_NUMBER);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(94);
END_STATE();
case 95:
ACCEPT_TOKEN(sym_FP);
if (lookahead == '.') ADVANCE(96);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(95);
END_STATE();
case 96:
ACCEPT_TOKEN(sym_FP);
if (('0' <= lookahead && lookahead <= '9')) ADVANCE(96);
END_STATE();
case 97:
ACCEPT_TOKEN(sym_IDENT);
if (lookahead == 'a') ADVANCE(99);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('b' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 98:
ACCEPT_TOKEN(sym_IDENT);
if (lookahead == 'l') ADVANCE(63);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 99:
ACCEPT_TOKEN(sym_IDENT);
if (lookahead == 'l') ADVANCE(98);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 100:
ACCEPT_TOKEN(sym_IDENT);
if (lookahead == '.' ||
('0' <= lookahead && lookahead <= '9') ||
('A' <= lookahead && lookahead <= 'Z') ||
lookahead == '_' ||
('a' <= lookahead && lookahead <= 'z')) ADVANCE(100);
END_STATE();
case 101:
ACCEPT_TOKEN(sym__newline);
if (lookahead == '\n') ADVANCE(101);
if (lookahead == '\r') ADVANCE(101);
END_STATE();
default:
return false;
}
}
static const TSLexerMode ts_lex_modes[STATE_COUNT] = {
[0] = {.lex_state = 0},
[1] = {.lex_state = 50},
[2] = {.lex_state = 0},
[3] = {.lex_state = 0},
[4] = {.lex_state = 0},
[5] = {.lex_state = 0},
[6] = {.lex_state = 0},
[7] = {.lex_state = 0},
[8] = {.lex_state = 50},
[9] = {.lex_state = 50},
[10] = {.lex_state = 0},
[11] = {.lex_state = 0},
[12] = {.lex_state = 1},
[13] = {.lex_state = 0},
[14] = {.lex_state = 6},
[15] = {.lex_state = 0},
[16] = {.lex_state = 1},
[17] = {.lex_state = 1},
[18] = {.lex_state = 6},
[19] = {.lex_state = 0},
[20] = {.lex_state = 50},
[21] = {.lex_state = 50},
[22] = {.lex_state = 3},
[23] = {.lex_state = 50},
[24] = {.lex_state = 1},
[25] = {.lex_state = 6},
[26] = {.lex_state = 3},
[27] = {.lex_state = 6},
[28] = {.lex_state = 6},
[29] = {.lex_state = 50},
[30] = {.lex_state = 6},
[31] = {.lex_state = 50},
[32] = {.lex_state = 3},
[33] = {.lex_state = 6},
[34] = {.lex_state = 6},
[35] = {.lex_state = 6},
[36] = {.lex_state = 6},
[37] = {.lex_state = 6},
[38] = {.lex_state = 6},
[39] = {.lex_state = 6},
[40] = {.lex_state = 6},
[41] = {.lex_state = 6},
[42] = {.lex_state = 6},
[43] = {.lex_state = 6},
[44] = {.lex_state = 50},
[45] = {.lex_state = 6},
[46] = {.lex_state = 6},
[47] = {.lex_state = 50},
[48] = {.lex_state = 6},
[49] = {.lex_state = 50},
[50] = {.lex_state = 50},
[51] = {.lex_state = 50},
[52] = {.lex_state = 1},
[53] = {.lex_state = 50},
[54] = {.lex_state = 50},
[55] = {.lex_state = 50},
[56] = {.lex_state = 50},
[57] = {.lex_state = 50},
[58] = {.lex_state = 50},
[59] = {.lex_state = 50},
[60] = {.lex_state = 50},
[61] = {.lex_state = 50},
[62] = {.lex_state = 50},
[63] = {.lex_state = 50},
[64] = {.lex_state = 50},
[65] = {.lex_state = 50},
[66] = {.lex_state = 50},
[67] = {.lex_state = 50},
[68] = {.lex_state = 50},
[69] = {.lex_state = 50},
[70] = {.lex_state = 50},
[71] = {.lex_state = 50},
[72] = {.lex_state = 50},
[73] = {.lex_state = 50},
[74] = {.lex_state = 50},
[75] = {.lex_state = 50},
[76] = {.lex_state = 50},
[77] = {.lex_state = 50},
[78] = {.lex_state = 50},
[79] = {.lex_state = 50},
[80] = {.lex_state = 50},
[81] = {.lex_state = 50},
[82] = {.lex_state = 50},
[83] = {.lex_state = 50},
[84] = {.lex_state = 50},
[85] = {.lex_state = 3},
[86] = {.lex_state = 3},
[87] = {.lex_state = 3},
[88] = {.lex_state = 3},
[89] = {.lex_state = 0},
[90] = {.lex_state = 0},
[91] = {.lex_state = 0},
[92] = {.lex_state = 0},
[93] = {.lex_state = 0},
[94] = {.lex_state = 0},
[95] = {.lex_state = 0},
[96] = {.lex_state = 0},
[97] = {.lex_state = 0},
[98] = {.lex_state = 0},
[99] = {.lex_state = 50},
[100] = {.lex_state = 50},
[101] = {.lex_state = 3},
[102] = {.lex_state = 3},
[103] = {.lex_state = 0},
[104] = {.lex_state = 3},
[105] = {.lex_state = 1},
[106] = {.lex_state = 0},
[107] = {.lex_state = 0},
[108] = {.lex_state = 50},
[109] = {.lex_state = 50},
[110] = {.lex_state = 0},
[111] = {.lex_state = 0},
[112] = {.lex_state = 50},
[113] = {.lex_state = 0},
[114] = {.lex_state = 0},
[115] = {.lex_state = 0},
[116] = {.lex_state = 1},
[117] = {.lex_state = 0},
[118] = {.lex_state = 0},
[119] = {.lex_state = 0},
[120] = {.lex_state = 0},
[121] = {.lex_state = 0},
[122] = {.lex_state = 0},
[123] = {.lex_state = 1},
[124] = {.lex_state = 0},
[125] = {.lex_state = 0},
[126] = {.lex_state = 0},
[127] = {.lex_state = 0},
[128] = {.lex_state = 0},
[129] = {.lex_state = 0},
[130] = {.lex_state = 0},
[131] = {.lex_state = 0},
[132] = {.lex_state = 0},
[133] = {.lex_state = 0},
[134] = {.lex_state = 0},
[135] = {.lex_state = 0},
[136] = {.lex_state = 1},
[137] = {.lex_state = 0},
[138] = {.lex_state = 0},
[139] = {.lex_state = 50},
[140] = {.lex_state = 0},
[141] = {.lex_state = 1},
[142] = {.lex_state = 50},
[143] = {.lex_state = 0},
[144] = {.lex_state = 1},
[145] = {.lex_state = 0},
[146] = {.lex_state = 50},
[147] = {.lex_state = 0},
[148] = {.lex_state = 50},
[149] = {.lex_state = 1},
[150] = {.lex_state = 0},
[151] = {.lex_state = 0},
[152] = {.lex_state = 0},
[153] = {.lex_state = 1},
[154] = {.lex_state = 0},
[155] = {.lex_state = 0},
[156] = {.lex_state = 0},
[157] = {.lex_state = 1},
[158] = {.lex_state = 0},
[159] = {.lex_state = 0},
[160] = {.lex_state = 0},
[161] = {.lex_state = 3},
[162] = {.lex_state = 0},
[163] = {.lex_state = 0},
[164] = {.lex_state = 3},
[165] = {.lex_state = 1},
[166] = {.lex_state = 1},
[167] = {.lex_state = 0},
[168] = {.lex_state = 0},
[169] = {.lex_state = 0},
[170] = {.lex_state = 0},
[171] = {.lex_state = 0},
[172] = {.lex_state = 50},
[173] = {.lex_state = 0},
[174] = {.lex_state = 0},
[175] = {.lex_state = 48},
[176] = {.lex_state = 0},
[177] = {.lex_state = 0},
[178] = {.lex_state = 1},
[179] = {.lex_state = 0},
[180] = {.lex_state = 50},
[181] = {.lex_state = 0},
[182] = {.lex_state = 0},
[183] = {.lex_state = 48},
[184] = {.lex_state = 0},
[185] = {.lex_state = 1},
[186] = {.lex_state = 1},
[187] = {.lex_state = 0},
[188] = {.lex_state = 0},
[189] = {.lex_state = 1},
[190] = {.lex_state = 0},
[191] = {.lex_state = 0},
[192] = {.lex_state = 0},
[193] = {.lex_state = 50},
[194] = {.lex_state = 0},
[195] = {.lex_state = 0},
[196] = {.lex_state = 0},
[197] = {.lex_state = 50},
[198] = {.lex_state = 90},
[199] = {.lex_state = 49},
[200] = {.lex_state = 48},
[201] = {.lex_state = 48},
[202] = {.lex_state = 0},
[203] = {.lex_state = 1},
[204] = {.lex_state = 0},
[205] = {.lex_state = 0},
[206] = {.lex_state = 0},
[207] = {.lex_state = 0},
[208] = {.lex_state = 90},
[209] = {.lex_state = 48},
[210] = {.lex_state = 48},
[211] = {.lex_state = 50},
[212] = {.lex_state = 49},
[213] = {.lex_state = 48},
[214] = {.lex_state = 48},
[215] = {.lex_state = 0},
[216] = {.lex_state = 0},
};
static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = {
[STATE(0)] = {
[ts_builtin_sym_end] = ACTIONS(1),
[anon_sym_type] = ACTIONS(1),
[anon_sym_EQ] = ACTIONS(1),
[anon_sym_LBRACE] = ACTIONS(1),
[anon_sym_RBRACE] = ACTIONS(1),
[anon_sym_function] = ACTIONS(1),
[anon_sym_LPAREN] = ACTIONS(1),
[anon_sym_RPAREN] = ACTIONS(1),
[anon_sym_COMMA] = ACTIONS(1),
[anon_sym_DOT_DOT_DOT] = ACTIONS(1),
[anon_sym_env] = ACTIONS(1),
[anon_sym_call] = ACTIONS(1),
[anon_sym_PERCENT] = ACTIONS(1),
[anon_sym_AT] = ACTIONS(1),
[anon_sym_DOLLAR] = ACTIONS(1),
[anon_sym_COLON] = ACTIONS(1),
[anon_sym_sb] = ACTIONS(1),
[anon_sym_ub] = ACTIONS(1),
[anon_sym_sh] = ACTIONS(1),
[anon_sym_uh] = ACTIONS(1),
[anon_sym_b] = ACTIONS(1),
[anon_sym_h] = ACTIONS(1),
[anon_sym_w] = ACTIONS(1),
[anon_sym_l] = ACTIONS(1),
[anon_sym_s] = ACTIONS(1),
[anon_sym_d] = ACTIONS(1),
[anon_sym_PLUS] = ACTIONS(1),
[anon_sym_DASH] = ACTIONS(1),
[anon_sym_thread] = ACTIONS(1),
[anon_sym_z] = ACTIONS(1),
[anon_sym_export] = ACTIONS(1),
[anon_sym_align] = ACTIONS(1),
[anon_sym_POUND] = ACTIONS(1),
[sym_STRING] = ACTIONS(1),
[sym_NUMBER] = ACTIONS(1),
[sym_FP] = ACTIONS(1),
},
[STATE(1)] = {
[sym_source_file] = STATE(184),
[sym_TYPEDEF] = STATE(9),
[sym__regular_type] = STATE(64),
[sym_FUNCDEF] = STATE(9),
[sym__union_type] = STATE(56),
[sym__opaque_type] = STATE(71),
[sym_DATADEF] = STATE(9),
[sym_LINKAGE] = STATE(146),
[sym_COMMENT] = STATE(9),
[aux_sym_source_file_repeat1] = STATE(9),
[ts_builtin_sym_end] = ACTIONS(3),
[anon_sym_type] = ACTIONS(5),
[anon_sym_data] = ACTIONS(7),
[anon_sym_thread] = ACTIONS(9),
[anon_sym_export] = ACTIONS(9),
[anon_sym_section] = ACTIONS(11),
[anon_sym_POUND] = ACTIONS(13),
},
};
static const uint16_t ts_small_parse_table[] = {
[0] = 11,
ACTIONS(15), 1,
anon_sym_RPAREN,
ACTIONS(17), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(19), 1,
anon_sym_env,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
STATE(124), 1,
sym_FUNCDEF_PARAM,
STATE(143), 1,
sym_ABITY,
STATE(206), 1,
sym_FUNCDEF_PARAMS,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[41] = 11,
ACTIONS(17), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(19), 1,
anon_sym_env,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(29), 1,
anon_sym_RPAREN,
STATE(124), 1,
sym_FUNCDEF_PARAM,
STATE(143), 1,
sym_ABITY,
STATE(173), 1,
sym_FUNCDEF_PARAMS,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[82] = 10,
ACTIONS(17), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(19), 1,
anon_sym_env,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(31), 1,
anon_sym_RPAREN,
STATE(137), 1,
sym_FUNCDEF_PARAM,
STATE(143), 1,
sym_ABITY,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[120] = 10,
ACTIONS(17), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(19), 1,
anon_sym_env,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(33), 1,
anon_sym_RPAREN,
STATE(137), 1,
sym_FUNCDEF_PARAM,
STATE(143), 1,
sym_ABITY,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[158] = 10,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(35), 1,
anon_sym_RPAREN,
ACTIONS(37), 1,
anon_sym_DOT_DOT_DOT,
STATE(29), 1,
sym_ABITY,
STATE(126), 1,
sym__call_param,
STATE(179), 1,
sym__call_params,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(84), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(39), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[196] = 9,
ACTIONS(17), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(19), 1,
anon_sym_env,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
STATE(137), 1,
sym_FUNCDEF_PARAM,
STATE(143), 1,
sym_ABITY,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[231] = 11,
ACTIONS(41), 1,
ts_builtin_sym_end,
ACTIONS(43), 1,
anon_sym_type,
ACTIONS(46), 1,
anon_sym_data,
ACTIONS(52), 1,
anon_sym_section,
ACTIONS(55), 1,
anon_sym_POUND,
STATE(56), 1,
sym__union_type,
STATE(64), 1,
sym__regular_type,
STATE(71), 1,
sym__opaque_type,
STATE(146), 1,
sym_LINKAGE,
ACTIONS(49), 2,
anon_sym_thread,
anon_sym_export,
STATE(8), 5,
sym_TYPEDEF,
sym_FUNCDEF,
sym_DATADEF,
sym_COMMENT,
aux_sym_source_file_repeat1,
[270] = 11,
ACTIONS(5), 1,
anon_sym_type,
ACTIONS(7), 1,
anon_sym_data,
ACTIONS(11), 1,
anon_sym_section,
ACTIONS(13), 1,
anon_sym_POUND,
ACTIONS(58), 1,
ts_builtin_sym_end,
STATE(56), 1,
sym__union_type,
STATE(64), 1,
sym__regular_type,
STATE(71), 1,
sym__opaque_type,
STATE(146), 1,
sym_LINKAGE,
ACTIONS(9), 2,
anon_sym_thread,
anon_sym_export,
STATE(8), 5,
sym_TYPEDEF,
sym_FUNCDEF,
sym_DATADEF,
sym_COMMENT,
aux_sym_source_file_repeat1,
[309] = 9,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(60), 1,
anon_sym_RPAREN,
ACTIONS(62), 1,
anon_sym_DOT_DOT_DOT,
STATE(29), 1,
sym_ABITY,
STATE(156), 1,
sym__call_param,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(84), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(39), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[344] = 9,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(62), 1,
anon_sym_DOT_DOT_DOT,
ACTIONS(64), 1,
anon_sym_RPAREN,
STATE(29), 1,
sym_ABITY,
STATE(156), 1,
sym__call_param,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(84), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(39), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[379] = 12,
ACTIONS(66), 1,
anon_sym_PERCENT,
ACTIONS(68), 1,
anon_sym_AT,
ACTIONS(70), 1,
anon_sym_DASH,
ACTIONS(74), 1,
anon_sym_thread,
ACTIONS(76), 1,
sym_NUMBER,
ACTIONS(78), 1,
sym__newline,
STATE(24), 1,
sym_LABEL,
STATE(157), 1,
sym__dataitem_const,
STATE(189), 1,
sym__inst_args,
ACTIONS(72), 2,
anon_sym_s_,
anon_sym_d_,
STATE(116), 2,
sym__inst_arg,
sym_VAL,
STATE(153), 2,
sym_LOCAL,
sym_DYNCONST,
[419] = 8,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(80), 1,
anon_sym_DOLLAR,
STATE(159), 1,
sym_ABITY,
STATE(190), 1,
sym_GLOBAL,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[451] = 10,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(82), 1,
anon_sym_LBRACE,
ACTIONS(86), 1,
sym_NUMBER,
STATE(55), 1,
sym_BASETY,
STATE(100), 1,
sym_SUBTY,
STATE(115), 1,
aux_sym__union_type_repeat1,
STATE(182), 1,
sym__types,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[487] = 8,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(27), 1,
anon_sym_s,
ACTIONS(62), 1,
anon_sym_DOT_DOT_DOT,
STATE(29), 1,
sym_ABITY,
STATE(156), 1,
sym__call_param,
ACTIONS(25), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(84), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(39), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[519] = 11,
ACTIONS(66), 1,
anon_sym_PERCENT,
ACTIONS(68), 1,
anon_sym_AT,
ACTIONS(70), 1,
anon_sym_DASH,
ACTIONS(74), 1,
anon_sym_thread,
ACTIONS(76), 1,
sym_NUMBER,
ACTIONS(88), 1,
sym__newline,
STATE(24), 1,
sym_LABEL,
STATE(157), 1,
sym__dataitem_const,
ACTIONS(72), 2,
anon_sym_s_,
anon_sym_d_,
STATE(149), 2,
sym__inst_arg,
sym_VAL,
STATE(153), 2,
sym_LOCAL,
sym_DYNCONST,
[556] = 11,
ACTIONS(66), 1,
anon_sym_PERCENT,
ACTIONS(68), 1,
anon_sym_AT,
ACTIONS(70), 1,
anon_sym_DASH,
ACTIONS(74), 1,
anon_sym_thread,
ACTIONS(76), 1,
sym_NUMBER,
ACTIONS(90), 1,
sym__newline,
STATE(24), 1,
sym_LABEL,
STATE(157), 1,
sym__dataitem_const,
ACTIONS(72), 2,
anon_sym_s_,
anon_sym_d_,
STATE(149), 2,
sym__inst_arg,
sym_VAL,
STATE(153), 2,
sym_LOCAL,
sym_DYNCONST,
[593] = 9,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(82), 1,
anon_sym_LBRACE,
STATE(55), 1,
sym_BASETY,
STATE(100), 1,
sym_SUBTY,
STATE(121), 1,
aux_sym__union_type_repeat1,
STATE(202), 1,
sym__types,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[626] = 6,
ACTIONS(92), 1,
anon_sym_COLON,
ACTIONS(96), 1,
anon_sym_s,
STATE(101), 1,
sym_ABITY,
ACTIONS(94), 3,
anon_sym_w,
anon_sym_l,
anon_sym_d,
STATE(104), 3,
sym_AGGREGATE,
sym_SUBWTY,
sym_BASETY,
ACTIONS(23), 4,
anon_sym_sb,
anon_sym_ub,
anon_sym_sh,
anon_sym_uh,
[652] = 10,
ACTIONS(98), 1,
anon_sym_PERCENT,
ACTIONS(100), 1,
anon_sym_AT,
ACTIONS(102), 1,
anon_sym_DASH,
ACTIONS(106), 1,
anon_sym_thread,
ACTIONS(108), 1,
sym_NUMBER,
STATE(24), 1,
sym_LABEL,
STATE(157), 1,
sym__dataitem_const,
ACTIONS(104), 2,
anon_sym_s_,
anon_sym_d_,
STATE(149), 2,
sym__inst_arg,
sym_VAL,
STATE(153), 2,
sym_LOCAL,
sym_DYNCONST,
[686] = 1,
ACTIONS(110), 12,
anon_sym_EQ,
anon_sym_RBRACE,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_PLUS,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[701] = 8,
ACTIONS(114), 1,
anon_sym_call,
ACTIONS(116), 1,
anon_sym_PERCENT,
ACTIONS(118), 1,
anon_sym_POUND,
ACTIONS(120), 1,
sym_IDENT,
STATE(204), 1,
sym_LOCAL,
ACTIONS(112), 2,
anon_sym_RBRACE,
anon_sym_AT,
STATE(203), 2,
sym_CALL_INST,
sym_NORMAL_INST,
STATE(26), 3,
sym_INST,
sym_COMMENT,
aux_sym_BLOCK_repeat1,
[730] = 8,
ACTIONS(80), 1,
anon_sym_DOLLAR,
ACTIONS(124), 1,
anon_sym_DASH,
STATE(51), 1,
sym_GLOBAL,
STATE(54), 1,
sym__dataitem_const,
ACTIONS(122), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
ACTIONS(126), 2,
anon_sym_s_,
anon_sym_d_,
ACTIONS(128), 2,
sym_STRING,
sym_NUMBER,
STATE(31), 2,
sym_DATAITEM,
aux_sym__datadef_data_repeat1,
[759] = 10,
ACTIONS(66), 1,
anon_sym_PERCENT,
ACTIONS(70), 1,
anon_sym_DASH,
ACTIONS(74), 1,
anon_sym_thread,
ACTIONS(76), 1,
sym_NUMBER,
ACTIONS(130), 1,
anon_sym_COMMA,
ACTIONS(132), 1,
sym__newline,
STATE(144), 1,
sym_VAL,
STATE(157), 1,
sym__dataitem_const,
ACTIONS(72), 2,
anon_sym_s_,
anon_sym_d_,
STATE(153), 2,
sym_LOCAL,
sym_DYNCONST,
[792] = 7,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(134), 1,
anon_sym_RBRACE,
STATE(55), 1,
sym_BASETY,
STATE(109), 1,
sym_SUBTY,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[819] = 8,
ACTIONS(138), 1,
anon_sym_call,
ACTIONS(141), 1,
anon_sym_PERCENT,
ACTIONS(144), 1,
anon_sym_POUND,
ACTIONS(147), 1,
sym_IDENT,
STATE(204), 1,
sym_LOCAL,
ACTIONS(136), 2,
anon_sym_RBRACE,
anon_sym_AT,
STATE(203), 2,
sym_CALL_INST,
sym_NORMAL_INST,
STATE(26), 3,
sym_INST,
sym_COMMENT,
aux_sym_BLOCK_repeat1,
[848] = 7,
ACTIONS(21), 1,
anon_sym_COLON,
STATE(55), 1,
sym_BASETY,
STATE(100), 1,
sym_SUBTY,
STATE(216), 1,
sym__types,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[875] = 7,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(150), 1,
anon_sym_RBRACE,
STATE(55), 1,
sym_BASETY,
STATE(109), 1,
sym_SUBTY,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[902] = 9,
ACTIONS(80), 1,
anon_sym_DOLLAR,
ACTIONS(116), 1,
anon_sym_PERCENT,
ACTIONS(124), 1,
anon_sym_DASH,
ACTIONS(152), 1,
anon_sym_thread,
ACTIONS(154), 1,
sym_NUMBER,
STATE(169), 1,
sym__dataitem_const,
ACTIONS(126), 2,
anon_sym_s_,
anon_sym_d_,
STATE(154), 2,
sym_GLOBAL,
sym_VAL,
STATE(168), 2,
sym_LOCAL,
sym_DYNCONST,
[933] = 7,
ACTIONS(21), 1,
anon_sym_COLON,
ACTIONS(156), 1,
anon_sym_RBRACE,
STATE(55), 1,
sym_BASETY,
STATE(109), 1,
sym_SUBTY,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[960] = 8,
ACTIONS(160), 1,
anon_sym_DOLLAR,
ACTIONS(163), 1,
anon_sym_DASH,
STATE(51), 1,
sym_GLOBAL,
STATE(54), 1,
sym__dataitem_const,
ACTIONS(158), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
ACTIONS(166), 2,
anon_sym_s_,
anon_sym_d_,
ACTIONS(169), 2,
sym_STRING,
sym_NUMBER,
STATE(31), 2,
sym_DATAITEM,
aux_sym__datadef_data_repeat1,
[989] = 8,
ACTIONS(114), 1,
anon_sym_call,
ACTIONS(116), 1,
anon_sym_PERCENT,
ACTIONS(118), 1,
anon_sym_POUND,
ACTIONS(120), 1,
sym_IDENT,
STATE(204), 1,
sym_LOCAL,
ACTIONS(172), 2,
anon_sym_RBRACE,
anon_sym_AT,
STATE(203), 2,
sym_CALL_INST,
sym_NORMAL_INST,
STATE(22), 3,
sym_INST,
sym_COMMENT,
aux_sym_BLOCK_repeat1,
[1018] = 7,
ACTIONS(174), 1,
anon_sym_RBRACE,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1044] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(178), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1070] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(180), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1096] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(182), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1122] = 6,
ACTIONS(21), 1,
anon_sym_COLON,
STATE(55), 1,
sym_BASETY,
STATE(109), 1,
sym_SUBTY,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
STATE(112), 2,
sym_AGGREGATE,
sym_EXTTY,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1146] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(184), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1172] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(186), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1198] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(188), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1224] = 7,
ACTIONS(176), 1,
anon_sym_z,
ACTIONS(190), 1,
anon_sym_RBRACE,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1250] = 6,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(117), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1273] = 6,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(106), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1296] = 7,
ACTIONS(80), 1,
anon_sym_DOLLAR,
ACTIONS(124), 1,
anon_sym_DASH,
STATE(51), 1,
sym_GLOBAL,
STATE(54), 1,
sym__dataitem_const,
ACTIONS(126), 2,
anon_sym_s_,
anon_sym_d_,
ACTIONS(128), 2,
sym_STRING,
sym_NUMBER,
STATE(23), 2,
sym_DATAITEM,
aux_sym__datadef_data_repeat1,
[1321] = 6,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(129), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1344] = 6,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(131), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1367] = 1,
ACTIONS(192), 10,
anon_sym_EQ,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_PERCENT,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
anon_sym_thread,
sym_NUMBER,
[1380] = 6,
ACTIONS(176), 1,
anon_sym_z,
STATE(44), 1,
sym_EXTTY,
STATE(55), 1,
sym_BASETY,
STATE(147), 1,
sym__datadef_data,
ACTIONS(84), 2,
anon_sym_b,
anon_sym_h,
ACTIONS(25), 4,
anon_sym_w,
anon_sym_l,
anon_sym_s,
anon_sym_d,
[1403] = 1,
ACTIONS(194), 10,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_PERCENT,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
anon_sym_thread,
sym_STRING,
sym_NUMBER,
[1416] = 1,
ACTIONS(196), 9,
anon_sym_RBRACE,
anon_sym_RPAREN,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[1428] = 2,
ACTIONS(200), 1,
anon_sym_PLUS,
ACTIONS(198), 8,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[1442] = 2,
ACTIONS(204), 1,
sym__newline,
ACTIONS(202), 7,
anon_sym_COMMA,
anon_sym_PERCENT,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
anon_sym_thread,
sym_NUMBER,
[1455] = 1,
ACTIONS(206), 8,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[1466] = 1,
ACTIONS(198), 8,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[1477] = 1,
ACTIONS(208), 8,
anon_sym_RBRACE,
anon_sym_COMMA,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
sym_STRING,
sym_NUMBER,
[1488] = 1,
ACTIONS(210), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1498] = 1,
ACTIONS(212), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1508] = 1,
ACTIONS(214), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1518] = 1,
ACTIONS(216), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1528] = 1,
ACTIONS(218), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1538] = 1,
ACTIONS(220), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1548] = 1,
ACTIONS(222), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1558] = 1,
ACTIONS(224), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1568] = 1,
ACTIONS(226), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1578] = 1,
ACTIONS(228), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1588] = 1,
ACTIONS(228), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1598] = 1,
ACTIONS(230), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1608] = 1,
ACTIONS(232), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1618] = 1,
ACTIONS(234), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1628] = 1,
ACTIONS(236), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1638] = 1,
ACTIONS(226), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1648] = 1,
ACTIONS(238), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1658] = 1,
ACTIONS(240), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1668] = 1,
ACTIONS(242), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1678] = 1,
ACTIONS(244), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1688] = 1,
ACTIONS(246), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1698] = 1,
ACTIONS(248), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1708] = 1,
ACTIONS(248), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1718] = 1,
ACTIONS(250), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1728] = 1,
ACTIONS(252), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1738] = 1,
ACTIONS(254), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1748] = 1,
ACTIONS(256), 7,
ts_builtin_sym_end,
anon_sym_type,
anon_sym_data,
anon_sym_thread,
anon_sym_export,
anon_sym_section,
anon_sym_POUND,
[1758] = 1,
ACTIONS(258), 7,
anon_sym_PERCENT,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
anon_sym_thread,
sym_NUMBER,
[1768] = 1,
ACTIONS(260), 7,
anon_sym_PERCENT,
anon_sym_DOLLAR,
anon_sym_DASH,
anon_sym_s_,
anon_sym_d_,
anon_sym_thread,
sym_NUMBER,
[1778] = 2,
ACTIONS(202), 2,
anon_sym_call,
sym_IDENT,
ACTIONS(204), 4,
anon_sym_RBRACE,
anon_sym_PERCENT,
anon_sym_AT,
anon_sym_POUND,
[1789] = 2,
ACTIONS(264), 2,
anon_sym_call,
sym_IDENT,
ACTIONS(262), 4,
anon_sym_RBRACE,
anon_sym_PERCENT,
anon_sym_AT,
anon_sym_POUND,
[1800] = 2,
ACTIONS(268), 2,
anon_sym_call,
sym_IDENT,
ACTIONS(266), 4,
anon_sym_RBRACE,
anon_sym_PERCENT,
anon_sym_AT,
anon_sym_POUND,
[1811] = 2,
ACTIONS(270), 2,
anon_sym_call,
sym_IDENT,
ACTIONS(222), 4,
anon_sym_RBRACE,
anon_sym_PERCENT,
anon_sym_AT,
anon_sym_POUND,
[1822] = 4,
ACTIONS(272), 1,
anon_sym_RBRACE,
ACTIONS(274), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(89), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1836] = 4,
ACTIONS(277), 1,
anon_sym_RBRACE,
ACTIONS(279), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(89), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1850] = 4,
ACTIONS(279), 1,
anon_sym_AT,
ACTIONS(281), 1,
anon_sym_RBRACE,
STATE(32), 1,
sym_LABEL,
STATE(89), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1864] = 4,
ACTIONS(279), 1,
anon_sym_AT,
ACTIONS(283), 1,
anon_sym_RBRACE,
STATE(32), 1,
sym_LABEL,
STATE(89), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1878] = 4,
ACTIONS(279), 1,
anon_sym_AT,
ACTIONS(285), 1,
anon_sym_RBRACE,
STATE(32), 1,
sym_LABEL,
STATE(89), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1892] = 3,
ACTIONS(279), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(91), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1903] = 1,
ACTIONS(287), 4,
anon_sym_EQ,
anon_sym_LPAREN,
anon_sym_RPAREN,
anon_sym_COMMA,
[1910] = 3,
ACTIONS(279), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(92), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1921] = 3,
ACTIONS(80), 1,
anon_sym_DOLLAR,
ACTIONS(116), 1,
anon_sym_PERCENT,
STATE(187), 2,
sym_LOCAL,
sym_GLOBAL,
[1932] = 3,
ACTIONS(279), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(90), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1943] = 3,
ACTIONS(291), 1,
sym_STRING,
STATE(148), 1,
sym_SECFLAGS,
ACTIONS(289), 2,
anon_sym_function,
anon_sym_data,
[1954] = 4,
ACTIONS(293), 1,
anon_sym_RBRACE,
ACTIONS(295), 1,
anon_sym_COMMA,
ACTIONS(297), 1,
sym_NUMBER,
STATE(107), 1,
aux_sym__types_repeat1,
[1967] = 3,
ACTIONS(114), 1,
anon_sym_call,
ACTIONS(120), 1,
sym_IDENT,
STATE(185), 2,
sym_CALL_INST,
sym_NORMAL_INST,
[1978] = 2,
ACTIONS(258), 2,
anon_sym_PERCENT,
anon_sym_DOLLAR,
ACTIONS(299), 2,
anon_sym_call,
sym_IDENT,
[1987] = 3,
ACTIONS(279), 1,
anon_sym_AT,
STATE(32), 1,
sym_LABEL,
STATE(93), 2,
sym_BLOCK,
aux_sym_FUNCDEF_repeat1,
[1998] = 2,
ACTIONS(260), 2,
anon_sym_PERCENT,
anon_sym_DOLLAR,
ACTIONS(301), 2,
anon_sym_call,
sym_IDENT,
[2007] = 3,
ACTIONS(303), 1,
anon_sym_COMMA,
ACTIONS(306), 1,
sym__newline,
STATE(105), 1,
aux_sym__inst_args_repeat1,
[2017] = 3,
ACTIONS(308), 1,
anon_sym_RBRACE,
ACTIONS(310), 1,
anon_sym_COMMA,
STATE(127), 1,
aux_sym_DATADEF_repeat1,
[2027] = 3,
ACTIONS(150), 1,
anon_sym_RBRACE,
ACTIONS(312), 1,
anon_sym_COMMA,
STATE(111), 1,
aux_sym__types_repeat1,
[2037] = 1,
ACTIONS(314), 3,
anon_sym_function,
anon_sym_data,
sym_STRING,
[2043] = 2,
ACTIONS(318), 1,
sym_NUMBER,
ACTIONS(316), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[2051] = 3,
ACTIONS(156), 1,
anon_sym_RBRACE,
ACTIONS(320), 1,
anon_sym_COMMA,
STATE(111), 1,
aux_sym__types_repeat1,
[2061] = 3,
ACTIONS(316), 1,
anon_sym_RBRACE,
ACTIONS(322), 1,
anon_sym_COMMA,
STATE(111), 1,
aux_sym__types_repeat1,
[2071] = 1,
ACTIONS(325), 3,
anon_sym_RBRACE,
anon_sym_COMMA,
sym_NUMBER,
[2077] = 3,
ACTIONS(327), 1,
anon_sym_LBRACE,
ACTIONS(330), 1,
anon_sym_RBRACE,
STATE(113), 1,
aux_sym__union_type_repeat1,
[2087] = 3,
ACTIONS(332), 1,
anon_sym_RBRACE,
ACTIONS(334), 1,
anon_sym_COMMA,
STATE(120), 1,
aux_sym_DATADEF_repeat1,
[2097] = 3,
ACTIONS(82), 1,
anon_sym_LBRACE,
ACTIONS(336), 1,
anon_sym_RBRACE,
STATE(113), 1,
aux_sym__union_type_repeat1,
[2107] = 3,
ACTIONS(338), 1,
anon_sym_COMMA,
ACTIONS(340), 1,
sym__newline,
STATE(123), 1,
aux_sym__inst_args_repeat1,
[2117] = 3,
ACTIONS(342), 1,
anon_sym_RBRACE,
ACTIONS(344), 1,
anon_sym_COMMA,
STATE(125), 1,
aux_sym_DATADEF_repeat1,
[2127] = 3,
ACTIONS(346), 1,
anon_sym_LBRACE,
ACTIONS(348), 1,
anon_sym_align,
STATE(188), 1,
sym__alignment,
[2137] = 3,
ACTIONS(350), 1,
anon_sym_RPAREN,
ACTIONS(352), 1,
anon_sym_COMMA,
STATE(119), 1,
aux_sym_FUNCDEF_PARAMS_repeat1,
[2147] = 3,
ACTIONS(355), 1,
anon_sym_RBRACE,
ACTIONS(357), 1,
anon_sym_COMMA,
STATE(120), 1,
aux_sym_DATADEF_repeat1,
[2157] = 3,
ACTIONS(82), 1,
anon_sym_LBRACE,
ACTIONS(360), 1,
anon_sym_RBRACE,
STATE(113), 1,
aux_sym__union_type_repeat1,
[2167] = 3,
ACTIONS(348), 1,
anon_sym_align,
ACTIONS(362), 1,
anon_sym_LBRACE,
STATE(177), 1,
sym__alignment,
[2177] = 3,
ACTIONS(90), 1,
sym__newline,
ACTIONS(364), 1,
anon_sym_COMMA,
STATE(105), 1,
aux_sym__inst_args_repeat1,
[2187] = 3,
ACTIONS(366), 1,
anon_sym_RPAREN,
ACTIONS(368), 1,
anon_sym_COMMA,
STATE(128), 1,
aux_sym_FUNCDEF_PARAMS_repeat1,
[2197] = 3,
ACTIONS(178), 1,
anon_sym_RBRACE,
ACTIONS(370), 1,
anon_sym_COMMA,
STATE(120), 1,
aux_sym_DATADEF_repeat1,
[2207] = 3,
ACTIONS(372), 1,
anon_sym_RPAREN,
ACTIONS(374), 1,
anon_sym_COMMA,
STATE(130), 1,
aux_sym__call_params_repeat1,
[2217] = 3,
ACTIONS(182), 1,
anon_sym_RBRACE,
ACTIONS(376), 1,
anon_sym_COMMA,
STATE(120), 1,
aux_sym_DATADEF_repeat1,
[2227] = 3,
ACTIONS(33), 1,
anon_sym_RPAREN,
ACTIONS(378), 1,
anon_sym_COMMA,
STATE(119), 1,
aux_sym_FUNCDEF_PARAMS_repeat1,
[2237] = 3,
ACTIONS(380), 1,
anon_sym_RBRACE,
ACTIONS(382), 1,
anon_sym_COMMA,
STATE(135), 1,
aux_sym_DATADEF_repeat1,
[2247] = 3,
ACTIONS(60), 1,
anon_sym_RPAREN,
ACTIONS(384), 1,
anon_sym_COMMA,
STATE(133), 1,
aux_sym__call_params_repeat1,
[2257] = 3,
ACTIONS(386), 1,
anon_sym_RBRACE,
ACTIONS(388), 1,
anon_sym_COMMA,
STATE(114), 1,
aux_sym_DATADEF_repeat1,
[2267] = 3,
ACTIONS(348), 1,
anon_sym_align,
ACTIONS(390), 1,
anon_sym_LBRACE,
STATE(191), 1,
sym__alignment,
[2277] = 3,
ACTIONS(392), 1,
anon_sym_RPAREN,
ACTIONS(394), 1,
anon_sym_COMMA,
STATE(133), 1,
aux_sym__call_params_repeat1,
[2287] = 3,
ACTIONS(150), 1,
anon_sym_RBRACE,
ACTIONS(312), 1,
anon_sym_COMMA,
STATE(110), 1,
aux_sym__types_repeat1,
[2297] = 3,
ACTIONS(397), 1,
anon_sym_RBRACE,
ACTIONS(399), 1,
anon_sym_COMMA,
STATE(120), 1,
aux_sym_DATADEF_repeat1,
[2307] = 2,
ACTIONS(110), 1,
sym__newline,
ACTIONS(401), 1,
anon_sym_COMMA,
[2314] = 1,
ACTIONS(350), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2319] = 2,
ACTIONS(21), 1,
anon_sym_COLON,
STATE(174), 1,
sym_AGGREGATE,
[2326] = 1,
ACTIONS(403), 2,
anon_sym_function,
anon_sym_data,
[2331] = 1,
ACTIONS(405), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[2336] = 2,
ACTIONS(407), 1,
anon_sym_COMMA,
ACTIONS(409), 1,
sym__newline,
[2343] = 1,
ACTIONS(411), 2,
anon_sym_function,
anon_sym_data,
[2348] = 2,
ACTIONS(116), 1,
anon_sym_PERCENT,
STATE(150), 1,
sym_LOCAL,
[2355] = 2,
ACTIONS(413), 1,
anon_sym_COMMA,
ACTIONS(415), 1,
sym__newline,
[2362] = 1,
ACTIONS(417), 2,
anon_sym_LBRACE,
anon_sym_RBRACE,
[2367] = 2,
ACTIONS(419), 1,
anon_sym_function,
ACTIONS(421), 1,
anon_sym_data,
[2374] = 1,
ACTIONS(355), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[2379] = 1,
ACTIONS(423), 2,
anon_sym_function,
anon_sym_data,
[2384] = 2,
ACTIONS(306), 1,
sym__newline,
ACTIONS(425), 1,
anon_sym_COMMA,
[2391] = 1,
ACTIONS(427), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2396] = 2,
ACTIONS(429), 1,
anon_sym_DOLLAR,
STATE(141), 1,
sym_GLOBAL,
[2403] = 2,
ACTIONS(116), 1,
anon_sym_PERCENT,
STATE(167), 1,
sym_LOCAL,
[2410] = 2,
ACTIONS(431), 1,
anon_sym_COMMA,
ACTIONS(433), 1,
sym__newline,
[2417] = 1,
ACTIONS(435), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2422] = 1,
ACTIONS(122), 2,
anon_sym_RBRACE,
anon_sym_COMMA,
[2427] = 1,
ACTIONS(392), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2432] = 2,
ACTIONS(437), 1,
anon_sym_COMMA,
ACTIONS(439), 1,
sym__newline,
[2439] = 2,
ACTIONS(80), 1,
anon_sym_DOLLAR,
STATE(196), 1,
sym_GLOBAL,
[2446] = 2,
ACTIONS(80), 1,
anon_sym_DOLLAR,
STATE(195), 1,
sym_GLOBAL,
[2453] = 1,
ACTIONS(441), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2458] = 1,
ACTIONS(443), 2,
anon_sym_call,
sym_IDENT,
[2463] = 2,
ACTIONS(80), 1,
anon_sym_DOLLAR,
STATE(170), 1,
sym_GLOBAL,
[2470] = 2,
ACTIONS(445), 1,
sym_STRING,
STATE(99), 1,
sym_SECNAME,
[2477] = 1,
ACTIONS(447), 2,
anon_sym_call,
sym_IDENT,
[2482] = 2,
ACTIONS(196), 1,
sym__newline,
ACTIONS(449), 1,
anon_sym_COMMA,
[2489] = 2,
ACTIONS(287), 1,
sym__newline,
ACTIONS(451), 1,
anon_sym_COMMA,
[2496] = 1,
ACTIONS(453), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2501] = 1,
ACTIONS(433), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2506] = 1,
ACTIONS(439), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2511] = 1,
ACTIONS(409), 2,
anon_sym_RPAREN,
anon_sym_COMMA,
[2516] = 2,
ACTIONS(80), 1,
anon_sym_DOLLAR,
STATE(207), 1,
sym_GLOBAL,
[2523] = 1,
ACTIONS(455), 1,
sym_NUMBER,
[2527] = 1,
ACTIONS(457), 1,
anon_sym_RPAREN,
[2531] = 1,
ACTIONS(459), 1,
anon_sym_EQ,
[2535] = 1,
ACTIONS(461), 1,
sym_IDENT,
[2539] = 1,
ACTIONS(463), 1,
anon_sym_LBRACE,
[2543] = 1,
ACTIONS(465), 1,
anon_sym_LBRACE,
[2547] = 1,
ACTIONS(467), 1,
sym__newline,
[2551] = 1,
ACTIONS(469), 1,
anon_sym_RPAREN,
[2555] = 1,
ACTIONS(471), 1,
sym_NUMBER,
[2559] = 1,
ACTIONS(473), 1,
anon_sym_RBRACE,
[2563] = 1,
ACTIONS(475), 1,
anon_sym_RBRACE,
[2567] = 1,
ACTIONS(477), 1,
sym_IDENT,
[2571] = 1,
ACTIONS(479), 1,
ts_builtin_sym_end,
[2575] = 1,
ACTIONS(481), 1,
sym__newline,
[2579] = 1,
ACTIONS(483), 1,
sym__newline,
[2583] = 1,
ACTIONS(485), 1,
anon_sym_LPAREN,
[2587] = 1,
ACTIONS(487), 1,
anon_sym_LBRACE,
[2591] = 1,
ACTIONS(489), 1,
sym__newline,
[2595] = 1,
ACTIONS(491), 1,
anon_sym_LPAREN,
[2599] = 1,
ACTIONS(493), 1,
anon_sym_LBRACE,
[2603] = 1,
ACTIONS(495), 1,
anon_sym_LBRACE,
[2607] = 1,
ACTIONS(497), 1,
sym_NUMBER,
[2611] = 1,
ACTIONS(499), 1,
anon_sym_LBRACE,
[2615] = 1,
ACTIONS(501), 1,
anon_sym_LPAREN,
[2619] = 1,
ACTIONS(503), 1,
anon_sym_EQ,
[2623] = 1,
ACTIONS(505), 1,
sym_NUMBER,
[2627] = 1,
ACTIONS(507), 1,
aux_sym_COMMENT_token1,
[2631] = 1,
ACTIONS(455), 1,
sym_FP,
[2635] = 1,
ACTIONS(509), 1,
sym_IDENT,
[2639] = 1,
ACTIONS(511), 1,
sym_IDENT,
[2643] = 1,
ACTIONS(513), 1,
anon_sym_RBRACE,
[2647] = 1,
ACTIONS(515), 1,
sym__newline,
[2651] = 1,
ACTIONS(517), 1,
anon_sym_EQ,
[2655] = 1,
ACTIONS(519), 1,
anon_sym_LBRACE,
[2659] = 1,
ACTIONS(521), 1,
anon_sym_RPAREN,
[2663] = 1,
ACTIONS(523), 1,
anon_sym_EQ,
[2667] = 1,
ACTIONS(525), 1,
aux_sym_COMMENT_token1,
[2671] = 1,
ACTIONS(527), 1,
sym_IDENT,
[2675] = 1,
ACTIONS(529), 1,
sym_IDENT,
[2679] = 1,
ACTIONS(531), 1,
sym_NUMBER,
[2683] = 1,
ACTIONS(531), 1,
sym_FP,
[2687] = 1,
ACTIONS(533), 1,
sym_IDENT,
[2691] = 1,
ACTIONS(535), 1,
sym_IDENT,
[2695] = 1,
ACTIONS(537), 1,
anon_sym_LBRACE,
[2699] = 1,
ACTIONS(539), 1,
anon_sym_RBRACE,
};
static const uint32_t ts_small_parse_table_map[] = {
[SMALL_STATE(2)] = 0,
[SMALL_STATE(3)] = 41,
[SMALL_STATE(4)] = 82,
[SMALL_STATE(5)] = 120,
[SMALL_STATE(6)] = 158,
[SMALL_STATE(7)] = 196,
[SMALL_STATE(8)] = 231,
[SMALL_STATE(9)] = 270,
[SMALL_STATE(10)] = 309,
[SMALL_STATE(11)] = 344,
[SMALL_STATE(12)] = 379,
[SMALL_STATE(13)] = 419,
[SMALL_STATE(14)] = 451,
[SMALL_STATE(15)] = 487,
[SMALL_STATE(16)] = 519,
[SMALL_STATE(17)] = 556,
[SMALL_STATE(18)] = 593,
[SMALL_STATE(19)] = 626,
[SMALL_STATE(20)] = 652,
[SMALL_STATE(21)] = 686,
[SMALL_STATE(22)] = 701,
[SMALL_STATE(23)] = 730,
[SMALL_STATE(24)] = 759,
[SMALL_STATE(25)] = 792,
[SMALL_STATE(26)] = 819,
[SMALL_STATE(27)] = 848,
[SMALL_STATE(28)] = 875,
[SMALL_STATE(29)] = 902,
[SMALL_STATE(30)] = 933,
[SMALL_STATE(31)] = 960,
[SMALL_STATE(32)] = 989,
[SMALL_STATE(33)] = 1018,
[SMALL_STATE(34)] = 1044,
[SMALL_STATE(35)] = 1070,
[SMALL_STATE(36)] = 1096,
[SMALL_STATE(37)] = 1122,
[SMALL_STATE(38)] = 1146,
[SMALL_STATE(39)] = 1172,
[SMALL_STATE(40)] = 1198,
[SMALL_STATE(41)] = 1224,
[SMALL_STATE(42)] = 1250,
[SMALL_STATE(43)] = 1273,
[SMALL_STATE(44)] = 1296,
[SMALL_STATE(45)] = 1321,
[SMALL_STATE(46)] = 1344,
[SMALL_STATE(47)] = 1367,
[SMALL_STATE(48)] = 1380,
[SMALL_STATE(49)] = 1403,
[SMALL_STATE(50)] = 1416,
[SMALL_STATE(51)] = 1428,
[SMALL_STATE(52)] = 1442,
[SMALL_STATE(53)] = 1455,
[SMALL_STATE(54)] = 1466,
[SMALL_STATE(55)] = 1477,
[SMALL_STATE(56)] = 1488,
[SMALL_STATE(57)] = 1498,
[SMALL_STATE(58)] = 1508,
[SMALL_STATE(59)] = 1518,
[SMALL_STATE(60)] = 1528,
[SMALL_STATE(61)] = 1538,
[SMALL_STATE(62)] = 1548,
[SMALL_STATE(63)] = 1558,
[SMALL_STATE(64)] = 1568,
[SMALL_STATE(65)] = 1578,
[SMALL_STATE(66)] = 1588,
[SMALL_STATE(67)] = 1598,
[SMALL_STATE(68)] = 1608,
[SMALL_STATE(69)] = 1618,
[SMALL_STATE(70)] = 1628,
[SMALL_STATE(71)] = 1638,
[SMALL_STATE(72)] = 1648,
[SMALL_STATE(73)] = 1658,
[SMALL_STATE(74)] = 1668,
[SMALL_STATE(75)] = 1678,
[SMALL_STATE(76)] = 1688,
[SMALL_STATE(77)] = 1698,
[SMALL_STATE(78)] = 1708,
[SMALL_STATE(79)] = 1718,
[SMALL_STATE(80)] = 1728,
[SMALL_STATE(81)] = 1738,
[SMALL_STATE(82)] = 1748,
[SMALL_STATE(83)] = 1758,
[SMALL_STATE(84)] = 1768,
[SMALL_STATE(85)] = 1778,
[SMALL_STATE(86)] = 1789,
[SMALL_STATE(87)] = 1800,
[SMALL_STATE(88)] = 1811,
[SMALL_STATE(89)] = 1822,
[SMALL_STATE(90)] = 1836,
[SMALL_STATE(91)] = 1850,
[SMALL_STATE(92)] = 1864,
[SMALL_STATE(93)] = 1878,
[SMALL_STATE(94)] = 1892,
[SMALL_STATE(95)] = 1903,
[SMALL_STATE(96)] = 1910,
[SMALL_STATE(97)] = 1921,
[SMALL_STATE(98)] = 1932,
[SMALL_STATE(99)] = 1943,
[SMALL_STATE(100)] = 1954,
[SMALL_STATE(101)] = 1967,
[SMALL_STATE(102)] = 1978,
[SMALL_STATE(103)] = 1987,
[SMALL_STATE(104)] = 1998,
[SMALL_STATE(105)] = 2007,
[SMALL_STATE(106)] = 2017,
[SMALL_STATE(107)] = 2027,
[SMALL_STATE(108)] = 2037,
[SMALL_STATE(109)] = 2043,
[SMALL_STATE(110)] = 2051,
[SMALL_STATE(111)] = 2061,
[SMALL_STATE(112)] = 2071,
[SMALL_STATE(113)] = 2077,
[SMALL_STATE(114)] = 2087,
[SMALL_STATE(115)] = 2097,
[SMALL_STATE(116)] = 2107,
[SMALL_STATE(117)] = 2117,
[SMALL_STATE(118)] = 2127,
[SMALL_STATE(119)] = 2137,
[SMALL_STATE(120)] = 2147,
[SMALL_STATE(121)] = 2157,
[SMALL_STATE(122)] = 2167,
[SMALL_STATE(123)] = 2177,
[SMALL_STATE(124)] = 2187,
[SMALL_STATE(125)] = 2197,
[SMALL_STATE(126)] = 2207,
[SMALL_STATE(127)] = 2217,
[SMALL_STATE(128)] = 2227,
[SMALL_STATE(129)] = 2237,
[SMALL_STATE(130)] = 2247,
[SMALL_STATE(131)] = 2257,
[SMALL_STATE(132)] = 2267,
[SMALL_STATE(133)] = 2277,
[SMALL_STATE(134)] = 2287,
[SMALL_STATE(135)] = 2297,
[SMALL_STATE(136)] = 2307,
[SMALL_STATE(137)] = 2314,
[SMALL_STATE(138)] = 2319,
[SMALL_STATE(139)] = 2326,
[SMALL_STATE(140)] = 2331,
[SMALL_STATE(141)] = 2336,
[SMALL_STATE(142)] = 2343,
[SMALL_STATE(143)] = 2348,
[SMALL_STATE(144)] = 2355,
[SMALL_STATE(145)] = 2362,
[SMALL_STATE(146)] = 2367,
[SMALL_STATE(147)] = 2374,
[SMALL_STATE(148)] = 2379,
[SMALL_STATE(149)] = 2384,
[SMALL_STATE(150)] = 2391,
[SMALL_STATE(151)] = 2396,
[SMALL_STATE(152)] = 2403,
[SMALL_STATE(153)] = 2410,
[SMALL_STATE(154)] = 2417,
[SMALL_STATE(155)] = 2422,
[SMALL_STATE(156)] = 2427,
[SMALL_STATE(157)] = 2432,
[SMALL_STATE(158)] = 2439,
[SMALL_STATE(159)] = 2446,
[SMALL_STATE(160)] = 2453,
[SMALL_STATE(161)] = 2458,
[SMALL_STATE(162)] = 2463,
[SMALL_STATE(163)] = 2470,
[SMALL_STATE(164)] = 2477,
[SMALL_STATE(165)] = 2482,
[SMALL_STATE(166)] = 2489,
[SMALL_STATE(167)] = 2496,
[SMALL_STATE(168)] = 2501,
[SMALL_STATE(169)] = 2506,
[SMALL_STATE(170)] = 2511,
[SMALL_STATE(171)] = 2516,
[SMALL_STATE(172)] = 2523,
[SMALL_STATE(173)] = 2527,
[SMALL_STATE(174)] = 2531,
[SMALL_STATE(175)] = 2535,
[SMALL_STATE(176)] = 2539,
[SMALL_STATE(177)] = 2543,
[SMALL_STATE(178)] = 2547,
[SMALL_STATE(179)] = 2551,
[SMALL_STATE(180)] = 2555,
[SMALL_STATE(181)] = 2559,
[SMALL_STATE(182)] = 2563,
[SMALL_STATE(183)] = 2567,
[SMALL_STATE(184)] = 2571,
[SMALL_STATE(185)] = 2575,
[SMALL_STATE(186)] = 2579,
[SMALL_STATE(187)] = 2583,
[SMALL_STATE(188)] = 2587,
[SMALL_STATE(189)] = 2591,
[SMALL_STATE(190)] = 2595,
[SMALL_STATE(191)] = 2599,
[SMALL_STATE(192)] = 2603,
[SMALL_STATE(193)] = 2607,
[SMALL_STATE(194)] = 2611,
[SMALL_STATE(195)] = 2615,
[SMALL_STATE(196)] = 2619,
[SMALL_STATE(197)] = 2623,
[SMALL_STATE(198)] = 2627,
[SMALL_STATE(199)] = 2631,
[SMALL_STATE(200)] = 2635,
[SMALL_STATE(201)] = 2639,
[SMALL_STATE(202)] = 2643,
[SMALL_STATE(203)] = 2647,
[SMALL_STATE(204)] = 2651,
[SMALL_STATE(205)] = 2655,
[SMALL_STATE(206)] = 2659,
[SMALL_STATE(207)] = 2663,
[SMALL_STATE(208)] = 2667,
[SMALL_STATE(209)] = 2671,
[SMALL_STATE(210)] = 2675,
[SMALL_STATE(211)] = 2679,
[SMALL_STATE(212)] = 2683,
[SMALL_STATE(213)] = 2687,
[SMALL_STATE(214)] = 2691,
[SMALL_STATE(215)] = 2695,
[SMALL_STATE(216)] = 2699,
};
static const TSParseActionEntry ts_parse_actions[] = {
[0] = {.entry = {.count = 0, .reusable = false}},
[1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(),
[3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 0, 0, 0),
[5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(138),
[7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(171),
[9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(139),
[11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(163),
[13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(198),
[15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(194),
[17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(160),
[19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(152),
[21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(175),
[23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102),
[25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49),
[27] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49),
[29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(205),
[31] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAMS, 3, 0, 0),
[33] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAMS, 2, 0, 0),
[35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(178),
[37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126),
[39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(83),
[41] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0),
[43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(138),
[46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(171),
[49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(139),
[52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(163),
[55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_source_file_repeat1, 2, 0, 0), SHIFT_REPEAT(198),
[58] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_source_file, 1, 0, 0),
[60] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__call_params, 2, 0, 0),
[62] = {.entry = {.count = 1, .reusable = true}}, SHIFT(156),
[64] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__call_params, 3, 0, 0),
[66] = {.entry = {.count = 1, .reusable = false}}, SHIFT(213),
[68] = {.entry = {.count = 1, .reusable = false}}, SHIFT(214),
[70] = {.entry = {.count = 1, .reusable = false}}, SHIFT(211),
[72] = {.entry = {.count = 1, .reusable = false}}, SHIFT(212),
[74] = {.entry = {.count = 1, .reusable = false}}, SHIFT(151),
[76] = {.entry = {.count = 1, .reusable = false}}, SHIFT(157),
[78] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_NORMAL_INST, 1, 0, 10),
[80] = {.entry = {.count = 1, .reusable = true}}, SHIFT(200),
[82] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27),
[84] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55),
[86] = {.entry = {.count = 1, .reusable = true}}, SHIFT(181),
[88] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inst_args, 3, 0, 0),
[90] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inst_args, 2, 0, 0),
[92] = {.entry = {.count = 1, .reusable = true}}, SHIFT(209),
[94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(164),
[96] = {.entry = {.count = 1, .reusable = false}}, SHIFT(164),
[98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(213),
[100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(214),
[102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(211),
[104] = {.entry = {.count = 1, .reusable = true}}, SHIFT(212),
[106] = {.entry = {.count = 1, .reusable = true}}, SHIFT(151),
[108] = {.entry = {.count = 1, .reusable = true}}, SHIFT(157),
[110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_GLOBAL, 2, 0, 3),
[112] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_BLOCK, 2, 0, 8),
[114] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97),
[116] = {.entry = {.count = 1, .reusable = true}}, SHIFT(201),
[118] = {.entry = {.count = 1, .reusable = true}}, SHIFT(208),
[120] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12),
[122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__datadef_data, 2, 0, 0),
[124] = {.entry = {.count = 1, .reusable = true}}, SHIFT(172),
[126] = {.entry = {.count = 1, .reusable = true}}, SHIFT(199),
[128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54),
[130] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__inst_arg, 1, 0, 0),
[132] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inst_arg, 1, 0, 0),
[134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__types, 4, 0, 0),
[136] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_BLOCK_repeat1, 2, 0, 0),
[138] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_BLOCK_repeat1, 2, 0, 0), SHIFT_REPEAT(97),
[141] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_BLOCK_repeat1, 2, 0, 0), SHIFT_REPEAT(201),
[144] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_BLOCK_repeat1, 2, 0, 0), SHIFT_REPEAT(208),
[147] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_BLOCK_repeat1, 2, 0, 0), SHIFT_REPEAT(12),
[150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__types, 2, 0, 0),
[152] = {.entry = {.count = 1, .reusable = true}}, SHIFT(162),
[154] = {.entry = {.count = 1, .reusable = true}}, SHIFT(169),
[156] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__types, 3, 0, 0),
[158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__datadef_data_repeat1, 2, 0, 0),
[160] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__datadef_data_repeat1, 2, 0, 0), SHIFT_REPEAT(200),
[163] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__datadef_data_repeat1, 2, 0, 0), SHIFT_REPEAT(172),
[166] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__datadef_data_repeat1, 2, 0, 0), SHIFT_REPEAT(199),
[169] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__datadef_data_repeat1, 2, 0, 0), SHIFT_REPEAT(54),
[172] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_BLOCK, 1, 0, 8),
[174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63),
[176] = {.entry = {.count = 1, .reusable = true}}, SHIFT(180),
[178] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60),
[180] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65),
[182] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69),
[184] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77),
[186] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72),
[188] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76),
[190] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81),
[192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_AGGREGATE, 2, 0, 3),
[194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_BASETY, 1, 0, 0),
[196] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__dataitem_const, 2, 0, 0),
[198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATAITEM, 1, 0, 0),
[200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(197),
[202] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_LABEL, 2, 0, 3),
[204] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_LABEL, 2, 0, 3),
[206] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATAITEM, 3, 0, 0),
[208] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_EXTTY, 1, 0, 0),
[210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_TYPEDEF, 1, 0, 2),
[212] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 7, 0, 7),
[214] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 7, 0, 9),
[216] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__union_type, 6, 0, 3),
[218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 7, 0, 3),
[220] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__regular_type, 6, 0, 0),
[222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_COMMENT, 2, 0, 0),
[224] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 8, 0, 3),
[226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_TYPEDEF, 1, 0, 1),
[228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 8, 0, 7),
[230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 6, 0, 3),
[232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF, 8, 0, 9),
[234] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 8, 0, 9),
[236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 8, 0, 11),
[238] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 9, 0, 7),
[240] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__opaque_type, 7, 0, 6),
[242] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF, 9, 0, 12),
[244] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF, 9, 0, 13),
[246] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 9, 0, 9),
[248] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 9, 0, 11),
[250] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__regular_type, 7, 0, 6),
[252] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF, 10, 0, 14),
[254] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DATADEF, 10, 0, 11),
[256] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__union_type, 7, 0, 7),
[258] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_SUBWTY, 1, 0, 0),
[260] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ABITY, 1, 0, 0),
[262] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_INST, 2, 0, 0),
[264] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_INST, 2, 0, 0),
[266] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_INST, 5, 0, 15),
[268] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_INST, 5, 0, 15),
[270] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_COMMENT, 2, 0, 0),
[272] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_FUNCDEF_repeat1, 2, 0, 0),
[274] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_FUNCDEF_repeat1, 2, 0, 0), SHIFT_REPEAT(183),
[277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68),
[279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(183),
[281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74),
[283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75),
[285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80),
[287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_LOCAL, 2, 0, 3),
[289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_LINKAGE, 2, 0, 0),
[291] = {.entry = {.count = 1, .reusable = true}}, SHIFT(142),
[293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__types, 1, 0, 0),
[295] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28),
[297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(134),
[299] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_SUBWTY, 1, 0, 0),
[301] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ABITY, 1, 0, 0),
[303] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__inst_args_repeat1, 2, 0, 0), SHIFT_REPEAT(20),
[306] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__inst_args_repeat1, 2, 0, 0),
[308] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58),
[310] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36),
[312] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30),
[314] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_SECNAME, 1, 0, 0),
[316] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__types_repeat1, 2, 0, 0),
[318] = {.entry = {.count = 1, .reusable = true}}, SHIFT(140),
[320] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25),
[322] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__types_repeat1, 2, 0, 0), SHIFT_REPEAT(37),
[325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_SUBTY, 1, 0, 0),
[327] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__union_type_repeat1, 2, 0, 0), SHIFT_REPEAT(27),
[330] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__union_type_repeat1, 2, 0, 0),
[332] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78),
[334] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41),
[336] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82),
[338] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17),
[340] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inst_args, 1, 0, 0),
[342] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67),
[344] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34),
[346] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18),
[348] = {.entry = {.count = 1, .reusable = true}}, SHIFT(193),
[350] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_FUNCDEF_PARAMS_repeat1, 2, 0, 0),
[352] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_FUNCDEF_PARAMS_repeat1, 2, 0, 0), SHIFT_REPEAT(7),
[355] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_DATADEF_repeat1, 2, 0, 0),
[357] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_DATADEF_repeat1, 2, 0, 0), SHIFT_REPEAT(48),
[360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59),
[362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42),
[364] = {.entry = {.count = 1, .reusable = false}}, SHIFT(16),
[366] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAMS, 1, 0, 0),
[368] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5),
[370] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33),
[372] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__call_params, 1, 0, 0),
[374] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10),
[376] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40),
[378] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4),
[380] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57),
[382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35),
[384] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11),
[386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70),
[388] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38),
[390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43),
[392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__call_params_repeat1, 2, 0, 0),
[394] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__call_params_repeat1, 2, 0, 0), SHIFT_REPEAT(15),
[397] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66),
[399] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39),
[401] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_GLOBAL, 2, 0, 3),
[403] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_LINKAGE, 1, 0, 0),
[405] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__types_repeat1, 3, 0, 0),
[407] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_DYNCONST, 2, 0, 0),
[409] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DYNCONST, 2, 0, 0),
[411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_SECFLAGS, 1, 0, 0),
[413] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__inst_arg, 2, 0, 0),
[415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__inst_arg, 2, 0, 0),
[417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__union_type_repeat1, 3, 0, 0),
[419] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13),
[421] = {.entry = {.count = 1, .reusable = true}}, SHIFT(158),
[423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_LINKAGE, 3, 0, 0),
[425] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__inst_args_repeat1, 2, 0, 0),
[427] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAM, 2, 0, 5),
[429] = {.entry = {.count = 1, .reusable = true}}, SHIFT(210),
[431] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_VAL, 1, 0, 0),
[433] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_VAL, 1, 0, 0),
[435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__call_param, 2, 0, 0),
[437] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_DYNCONST, 1, 0, 0),
[439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_DYNCONST, 1, 0, 0),
[441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAM, 1, 0, 0),
[443] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_AGGREGATE, 2, 0, 3),
[445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108),
[447] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_BASETY, 1, 0, 0),
[449] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__dataitem_const, 2, 0, 0),
[451] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_LOCAL, 2, 0, 3),
[453] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_FUNCDEF_PARAM, 2, 0, 0),
[455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50),
[457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(192),
[459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118),
[461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47),
[463] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__alignment, 2, 0, 4),
[465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45),
[467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_CALL_INST, 4, 0, 0),
[469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(186),
[471] = {.entry = {.count = 1, .reusable = true}}, SHIFT(155),
[473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73),
[475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79),
[477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85),
[479] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(),
[481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87),
[483] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_CALL_INST, 5, 0, 0),
[485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6),
[487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14),
[489] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_NORMAL_INST, 2, 0, 10),
[491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3),
[493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46),
[495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94),
[497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(176),
[499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96),
[501] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2),
[503] = {.entry = {.count = 1, .reusable = true}}, SHIFT(132),
[505] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53),
[507] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62),
[509] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21),
[511] = {.entry = {.count = 1, .reusable = true}}, SHIFT(95),
[513] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61),
[515] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86),
[517] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19),
[519] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98),
[521] = {.entry = {.count = 1, .reusable = true}}, SHIFT(215),
[523] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122),
[525] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88),
[527] = {.entry = {.count = 1, .reusable = true}}, SHIFT(161),
[529] = {.entry = {.count = 1, .reusable = true}}, SHIFT(136),
[531] = {.entry = {.count = 1, .reusable = true}}, SHIFT(165),
[533] = {.entry = {.count = 1, .reusable = true}}, SHIFT(166),
[535] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52),
[537] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103),
[539] = {.entry = {.count = 1, .reusable = true}}, SHIFT(145),
};
#ifdef __cplusplus
extern "C" {
#endif
#ifdef TREE_SITTER_HIDE_SYMBOLS
#define TS_PUBLIC
#elif defined(_WIN32)
#define TS_PUBLIC __declspec(dllexport)
#else
#define TS_PUBLIC __attribute__((visibility("default")))
#endif
TS_PUBLIC const TSLanguage *tree_sitter_qbe(void) {
static const TSLanguage language = {
.abi_version = LANGUAGE_VERSION,
.symbol_count = SYMBOL_COUNT,
.alias_count = ALIAS_COUNT,
.token_count = TOKEN_COUNT,
.external_token_count = EXTERNAL_TOKEN_COUNT,
.state_count = STATE_COUNT,
.large_state_count = LARGE_STATE_COUNT,
.production_id_count = PRODUCTION_ID_COUNT,
.supertype_count = SUPERTYPE_COUNT,
.field_count = FIELD_COUNT,
.max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH,
.parse_table = &ts_parse_table[0][0],
.small_parse_table = ts_small_parse_table,
.small_parse_table_map = ts_small_parse_table_map,
.parse_actions = ts_parse_actions,
.symbol_names = ts_symbol_names,
.field_names = ts_field_names,
.field_map_slices = ts_field_map_slices,
.field_map_entries = ts_field_map_entries,
.symbol_metadata = ts_symbol_metadata,
.public_symbol_map = ts_symbol_map,
.alias_map = ts_non_terminal_alias_map,
.alias_sequences = &ts_alias_sequences[0][0],
.lex_modes = (const void*)ts_lex_modes,
.lex_fn = ts_lex,
.primary_state_ids = ts_primary_state_ids,
.name = "qbe",
.max_reserved_word_set_size = 0,
.metadata = {
.major_version = 0,
.minor_version = 1,
.patch_version = 0,
},
};
return &language;
}
#ifdef __cplusplus
}
#endif