aboutsummaryrefslogtreecommitdiffstats
path: root/test/symtab2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-10-05 12:56:31 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-10-05 12:56:31 +0200
commitbcb0224f8f2d19cd03a2527eec2f5eb42abef7cd (patch)
tree674e7412188b1c7fb6decd02575e70f0d74247b6 /test/symtab2.awk
parent5caf2424094016b9a26c5d9d74b25cab39671478 (diff)
parent81896b422307105edb9908958bbedd09967d9a05 (diff)
downloadegawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.tar.gz
egawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.tar.bz2
egawk-bcb0224f8f2d19cd03a2527eec2f5eb42abef7cd.zip
Merge branch 'symtab'
Diffstat (limited to 'test/symtab2.awk')
-rw-r--r--test/symtab2.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/symtab2.awk b/test/symtab2.awk
new file mode 100644
index 00000000..bb26f75d
--- /dev/null
+++ b/test/symtab2.awk
@@ -0,0 +1,6 @@
+BEGIN {
+ a = 5
+ printf "a = %d, SYMTAB[\"a\"] = %d\n", a, SYMTAB["a"]
+ SYMTAB["a"] = 4
+ printf "a = %d, SYMTAB[\"a\"] = %d\n", a, SYMTAB["a"]
+}