|
From: | Katherine Wasserman |
Subject: | ASORT / DELETE bug in 3.1.0? |
Date: | Mon, 22 Dec 2003 20:00:30 -0500 |
-------------------------------------------------------------------- BEGIN { b() } function a() { asort(x) } function b() { delete x } -----------------------------------------------------------------I've tested this only in 3.1.0 and it gives the error: "fatal: delete: illegal use of variable `x' as array"
If 'delete' comes before 'asort', syntactically no error is reported. It appears that the parser thinks that 'x' is a scalar because it's use in 'asort'.
Thanks, Katie
[Prev in Thread] | Current Thread | [Next in Thread] |