Skip to content

Commit

Permalink
allow dynamic labels to contain macro argumnts
Browse files Browse the repository at this point in the history
  • Loading branch information
msaarna committed Aug 7, 2023
1 parent 833d5d9 commit 0508258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/exp.c
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,8 @@ const char *pushsymbol(const char *str)
*ptr == '.' ||
(*ptr >= 'a' && *ptr <= 'z') ||
(*ptr == '@') || // UCASM compatibility, allow at-sign to apear in label names
(*ptr == '{') || // allow dynamic labels to use macro arguments
(*ptr == '}') ||
(*ptr >= 'A' && *ptr <= 'Z') ||
(*ptr >= '0' && *ptr <= '9');
++ptr
Expand Down

0 comments on commit 0508258

Please sign in to comment.