* final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default
definition.
(asm_insn_count): Use IS_ASM_LOGICAL_LINE_SEPARATOR rather
than assuming the logical line separator is ';'.
From-SVN: r6524
#define ASM_COMMENT_START ";#"
#endif
+/* Is the given character a logical line separator for the assembler? */
+#ifndef IS_ASM_LOGICAL_LINE_SEPARATOR
+#define IS_ASM_LOGICAL_LINE_SEPARATOR(C) ((C) == ';')
+#endif
+
rtx peephole ();
void output_asm_insn ();
rtx alter_subreg ();
for (template = decode_asm_operands (body, NULL_PTR, NULL_PTR,
NULL_PTR, NULL_PTR);
*template; template++)
- if (*template == ';' || *template == '\n')
+ if (IS_ASM_LOGICAL_LINE_SEPARATOR(*template) || *template == '\n')
count++;
return count;