about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-01-12 13:15:48 -0500
committerelioat <elioat@tilde.institute>2025-01-12 13:15:48 -0500
commitaa39d586b26ba9632bc2090201a319f01083a3bc (patch)
tree463f173f9b3dc11667ff9edfd0353df3c5ead8bb
parentdf1bbf51de157fdffd189a9df36544d0a1e1375f (diff)
downloadtour-aa39d586b26ba9632bc2090201a319f01083a3bc.tar.gz
*
-rwxr-xr-xawk/forth/f.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/awk/forth/f.awk b/awk/forth/f.awk
index 312c8e2..73fea1e 100755
--- a/awk/forth/f.awk
+++ b/awk/forth/f.awk
@@ -58,9 +58,9 @@ function repl() {
 }
 
 function interpret(line) {
-
     gsub(/\(.*\)/, "", line)  # Remove everything from ( to )
-    
+    gsub(/\\.*$/, "", line)    # Remove backslash comments
+
     n = split(line, words, /[ \t]+/)
     
     for (i = 1; i <= n; i++) {