Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Commit

Permalink
Added missing .EQUATE and .EQU aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
hach-que committed Nov 11, 2012
1 parent 55587da commit 6bba157
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions libdcpu-pp/directives/asm/define.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,26 @@ void ppimpl_asm_define_register(state_t* state)
match->identifier_only = false;
match->case_insensitive = true;
ppimpl_register(state, match);

// Register .EQUATE directive.
match = malloc(sizeof(match_t));
match->text = bautofree(bfromcstr(".EQUATE "));
match->handler = define_handle;
match->userdata = NULL;
match->line_start_only = true;
match->identifier_only = false;
match->case_insensitive = true;
ppimpl_register(state, match);

// Register .EQU directive.
match = malloc(sizeof(match_t));
match->text = bautofree(bfromcstr(".EQU "));
match->handler = define_handle;
match->userdata = NULL;
match->line_start_only = true;
match->identifier_only = false;
match->case_insensitive = true;
ppimpl_register(state, match);

// Register .MACRO directive.
match = malloc(sizeof(match_t));
Expand Down

0 comments on commit 6bba157

Please sign in to comment.