about summary refs log tree commit diff stats
path: root/awk/forth/f.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awk/forth/f.awk')
-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++) {