diff options
Diffstat (limited to 'gas/config/tc-m32c.h')
-rw-r--r-- | gas/config/tc-m32c.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-m32c.h b/gas/config/tc-m32c.h index 66fffc5..3a077b6 100644 --- a/gas/config/tc-m32c.h +++ b/gas/config/tc-m32c.h @@ -78,10 +78,10 @@ extern long md_pcrel_from_section (struct fix *, segT); /* We need a special version of the TC_START_LABEL macro so that we allow the :Z, :S, :Q and :G suffixes to be - parsed as such. We need to be able to change the contents of - the local variable 'c' which is passed to this macro as 'character'. */ -#define TC_START_LABEL(character, s, i_l_p) \ - ((character) != ':' ? 0 : (character = m32c_is_colon_insn (s)) ? 0 : ((character = ':'), 1)) -extern char m32c_is_colon_insn (char *); + parsed as such. We need to be able to change the contents of the + var storing what was at the NUL delimiter. */ +#define TC_START_LABEL(STR, NUL_CHAR, NEXT_CHAR) \ + (NEXT_CHAR == ':' && !m32c_is_colon_insn (STR, &NUL_CHAR)) +extern int m32c_is_colon_insn (char *, char *); #define H_TICK_HEX 1 |