Browse Source

allow for % in assembler strings

ceriel 34 years ago
parent
commit
2f9db198e6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      util/ceg/assemble/as_assemble/assemble.c

+ 2 - 0
util/ceg/assemble/as_assemble/assemble.c

@@ -40,6 +40,8 @@ char *str;
 					str = str + 2;
 					str = str + 2;
 				}
 				}
 				break;
 				break;
+		  case '%':	*b_ptr++ = *str;
+				/* fall through */
 		  default  :    *b_ptr++ = *str++;
 		  default  :    *b_ptr++ = *str++;
 		}
 		}
 	}
 	}