☰
Debian Codegraph
@
6.18.1-1
/
/
test
/
cases
/
dsl-localvar-scope-and-extent
/
0002
/
mlr
☽
☼
test/cases/dsl-localvar-scope-and-extent/0002/mlr
code
plain
raw
BSD-2-Clause-Miller
2015 John Kerl
debian/copyright
1
func f() {
2
var a = 2;
3
var b = 2;
4
if (NR > 5) {
5
var a = 3;
6
b = 3;
7
}
8
return 1000 * a + b;
9
}
10
a = 1;
11
b = 1;
12
$ab = f();
13
$oa = a;
14
$ob = b;
15