From 3bbd8bafaae0830b541324e4268af317024c6f29 Mon Sep 17 00:00:00 2001 From: elioat Date: Sat, 11 Jan 2025 21:54:40 -0500 Subject: * --- awk/forth/f.awk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awk/forth/f.awk b/awk/forth/f.awk index cf50dcf..6c18bfc 100755 --- a/awk/forth/f.awk +++ b/awk/forth/f.awk @@ -51,6 +51,9 @@ function repl() { } function interpret(line) { + # Remove comments from the line + gsub(/\(.*\)/, "", line) # Remove everything from ( to ) + n = split(line, words, /[ \t]+/) for (i = 1; i <= n; i++) { -- cgit 1.4.1-2-gfad0