From 511aeabe9b78ea09a5feb0283ec0c70b77953684 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 20 Dec 2006 13:52:38 +0000 Subject: [PATCH] Added new required comment_string_end --- ir/be/arm/arm_spec.pl | 4 +++- ir/be/ia32/ia32_spec.pl | 2 +- ir/be/mips/mips_spec.pl | 4 +++- ir/be/ppc32/ppc32_spec.pl | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ir/be/arm/arm_spec.pl b/ir/be/arm/arm_spec.pl index 43ae48570..6d80192ab 100644 --- a/ir/be/arm/arm_spec.pl +++ b/ir/be/arm/arm_spec.pl @@ -6,7 +6,9 @@ $arch = "arm"; -$comment_string = '/*'; +# this strings mark the beginning and the end of a comment in emit +$comment_string = "/*"; +$comment_string_end = "*/"; # the number of additional opcodes you want to register #$additional_opcodes = 0; diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index f54eb6838..8a4e9cc70 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -5,7 +5,7 @@ # the cpu architecture (ia32, ia64, mips, sparc, ppc, ...) $arch = "ia32"; -# this string marks the beginning of a comment in emit +# this strings mark the beginning and the end of a comment in emit $comment_string = "/*"; $comment_string_end = "*/"; diff --git a/ir/be/mips/mips_spec.pl b/ir/be/mips/mips_spec.pl index 13ae13e45..dbea8bab9 100644 --- a/ir/be/mips/mips_spec.pl +++ b/ir/be/mips/mips_spec.pl @@ -6,7 +6,9 @@ $arch = "mips"; -$comment_string = "#"; +# this strings mark the beginning and the end of a comment in emit +$comment_string = "#"; +$comment_string_end = ""; # The node description is done as a perl hash initializer with the # following structure: diff --git a/ir/be/ppc32/ppc32_spec.pl b/ir/be/ppc32/ppc32_spec.pl index 7bda313bf..ffcd06432 100644 --- a/ir/be/ppc32/ppc32_spec.pl +++ b/ir/be/ppc32/ppc32_spec.pl @@ -6,7 +6,9 @@ $arch = "ppc32"; -$comment_string = "/*"; +# this strings mark the beginning and the end of a comment in emit +$comment_string = "/*"; +$comment_string_end = "*/"; # The node description is done as a perl hash initializer with the # following structure: -- 2.20.1