diff options
Diffstat (limited to 'awk')
-rwxr-xr-x | awk/forth/f.awk | 4 |
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++) { |