diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-04 13:40:09 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-04 13:40:09 -0400 |
| commit | 38622ccbec590e4f6b578460e3a4b1649796cc97 (patch) | |
| tree | b11eeb08e2d0190ea25f1ea23f130351d014ce2d /ast.c | |
| parent | 22063462a90b5c290f5f71319b259fca80da8097 (diff) | |
Change metamethod names
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -18,9 +18,9 @@ static const char *OP_NAMES[] = { }; const char *binop_method_names[BINOP_XOR+1] = { - [BINOP_POWER]="__pow", [BINOP_MULT]="__mul", [BINOP_DIVIDE]="__div", - [BINOP_MOD]="__mod", [BINOP_MOD1]="__mod1", [BINOP_PLUS]="__add", [BINOP_MINUS]="__sub", - [BINOP_CONCAT]="__concat", [BINOP_LSHIFT]="__lshift", [BINOP_RSHIFT]="__rshift", + [BINOP_POWER]="__power", [BINOP_MULT]="__multiply", [BINOP_DIVIDE]="__divide", + [BINOP_MOD]="__mod", [BINOP_MOD1]="__mod1", [BINOP_PLUS]="__add", [BINOP_MINUS]="__subtract", + [BINOP_CONCAT]="__concatenate", [BINOP_LSHIFT]="__left_shift", [BINOP_RSHIFT]="__right_shift", [BINOP_AND]="__and", [BINOP_OR]="__or", [BINOP_XOR]="__xor", }; |
