pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
2008-01-03
2008-01-03 16:29:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>
2d5f5996e9f6fcecb8583b87758b22542479d1a1 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Now lexical_islocal() also sets LOCAL_VAR_IS_USED.
Rev: src/language.yacc:1.395
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: language.yacc,v 1.
394
2008/01/03 16:
22
:
59
grubba Exp $
+
|| $Id: language.yacc,v 1.
395
2008/01/03 16:
29
:
08
grubba Exp $
*/ %pure_parser
4423:
{ struct compiler_frame *q=Pike_compiler->compiler_frame;
+
f->variable[e].flags |= LOCAL_VAR_IS_USED;
+
while(q!=f) { q->lexical_scope|=SCOPE_SCOPED;