summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-05-03 19:19:00 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-05-03 19:19:00 -0400
commit44862e37b5978da8e7af012bbb4b83edaff41299 (patch)
tree53317baf8a994faf1580a539d5bf45ebafbef0df
parente1eeadf0d53ca3088d7e0e1dd5521878a11ebde7 (diff)
fixed bug caused by previous bugfix
-rw-r--r--src/tparse/tokenize.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tparse/tokenize.go b/src/tparse/tokenize.go
index 2b68a67..11531b5 100644
--- a/src/tparse/tokenize.go
+++ b/src/tparse/tokenize.go
@@ -165,7 +165,9 @@ func stripBlockComments(t []Token) []Token {
bc = false
continue
default:
- continue
+ if bc {
+ continue
+ }
}
} else if bc {
continue