summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--insns.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.pl b/insns.pl
index 6b6375e..280b8b2 100644
--- a/insns.pl
+++ b/insns.pl
@@ -523,7 +523,7 @@ sub byte_code_compile($) {
}
$prefix_ok = 1;
- foreach $op (split(/\s+/, $opc)) {
+ foreach $op (split(/\s*(?:\s|(?=[\/\\]))/, $opc)) {
if ($op eq 'o16') {
push(@codes, 0320);
} elsif ($op eq 'o32') {