about summary refs log tree commit diff
path: root/Src/exec.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-26 01:59:48 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-27 23:52:25 +0000
commit2654cb43f63349cff06b3dd26932dd76f53aed4c (patch)
treef08b52ed36e794ef7d8a42fca75a48ea2d2ebd32 /Src/exec.c
parent36abe20c0f53015b816d5f3bdd1eeed713614233 (diff)
downloadzsh-2654cb43f63349cff06b3dd26932dd76f53aed4c.tar.gz
zsh-2654cb43f63349cff06b3dd26932dd76f53aed4c.tar.xz
zsh-2654cb43f63349cff06b3dd26932dd76f53aed4c.zip
36651: WARN_CREATE_GLOBAL += math expressions
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 109a04a26..da808d6f1 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -176,7 +176,8 @@ mod_export int sfcontext;
 /**/
 struct execstack *exstack;
 
-/* Stack with names of functions currently active. */
+/* Stack with names of function calls, 'source' calls, and 'eval' calls
+ * currently active. */
 
 /**/
 mod_export Funcstack funcstack;