From 0deb732a075b1cc923fc2a55112b22650de13c19 Mon Sep 17 00:00:00 2001 From: Leeland Heins Date: Mon, 17 Dec 2018 22:24:38 -0600 Subject: [PATCH] Allow * in first column as comment (SC assembler) --- as65.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/as65.pl b/as65.pl index 74fea30..b91e897 100644 --- a/as65.pl +++ b/as65.pl @@ -2003,6 +2003,7 @@ if (open($ifh, "<$input_file")) { # Skip comment lines. next if $line =~ /^\s*;/; + next if $line =~ /\*/; # Process .org lines. if ($line =~ /^\.org\s+(.+)/) { @@ -2110,6 +2111,7 @@ if (open($ifh, "<$input_file")) { # Skip comment lines. next if $line =~ /^\s*;/; + next if $line =~ /\*/; # Skip .org lines. next if $line =~ /^\.org\s+.+/;