Skip to content

Commit

Permalink
Parse assignments like &= in asm string
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Oct 27, 2023
1 parent a4fd598 commit 786371a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handwritten/asm_hexagon_c/initialization.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static RZ_OWN RzPVector /*<RzAsmTokenPattern *>*/ *get_token_patterns() {
pat = RZ_NEW0(RzAsmTokenPattern);
pat->type = RZ_ASM_TOKEN_OPERATOR;
pat->pattern = strdup(
"(\\+)|([*&+-]?=)|(!)|(-)" // +,-,=,],[, ! (not the packet prefix)
"(\\+)|([*&+-\\&^/]?=)|(!)|(-)" // +,-,=,],[, ! (not the packet prefix)
);
rz_pvector_push(pvec, pat);

Expand Down

0 comments on commit 786371a

Please sign in to comment.