diff --git a/modules/src/read_em/m_C_mnem b/modules/src/read_em/m_C_mnem index c7bbab2d3..28588792d 100755 --- a/modules/src/read_em/m_C_mnem +++ b/modules/src/read_em/m_C_mnem @@ -36,7 +36,7 @@ do EOF done done -list=`$ARGTYPE g $EM_TABLE` +list=$($ARGTYPE g $EM_TABLE | tr -d '\r') cat << 'EOF' default: /* a "g" argument */ diff --git a/modules/src/read_em/m_C_mnem_na b/modules/src/read_em/m_C_mnem_na index 7b663cb62..1d4935cc1 100755 --- a/modules/src/read_em/m_C_mnem_na +++ b/modules/src/read_em/m_C_mnem_na @@ -2,7 +2,7 @@ export ED=$1 EM_TABLE=$2 ARGTYPE=$3 -list=`$ARGTYPE w $EM_TABLE` +list=$($ARGTYPE w $EM_TABLE | tr -d '\r') echo "switch(p->em_opcode) {" for i in $list do