=== modified file 'bin/aat.awk' --- bin/aat.awk 2014-08-13 11:28:19 +0000 +++ bin/aat.awk 2014-07-09 19:12:25 +0000 @@ -155,9 +155,8 @@ # Macro to insert source filename as a variable into produced code else if(name == "filename"){ tok_type=T_AWK - args = filename - gsub(/["\\]/, "\\&", args) - token("filename = \"" args "\"\n") + token("filename = \"" gsub(/["\\]/, "\\&", args) "\n") + close(filename) } # Macro to read content of a file into a variable