From aa39d586b26ba9632bc2090201a319f01083a3bc Mon Sep 17 00:00:00 2001 From: elioat Date: Sun, 12 Jan 2025 13:15:48 -0500 Subject: * --- awk/forth/f.awk | 4 ++-- 1 file 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++) { -- cgit 1.4.1-2-gfad0