[Nice-commit] Nice/src/bossa/syntax analyse.nice,1.95,1.96
Brought to you by:
bonniot
From: <ar...@us...> - 2003-12-12 22:08:36
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1:/tmp/cvs-serv22997/F:/nice/src/bossa/syntax Modified Files: analyse.nice Log Message: Fixed checking of local variables in a call position. Index: analyse.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/analyse.nice,v retrieving revision 1.95 retrieving revision 1.96 diff -C2 -d -r1.95 -r1.96 *** analyse.nice 12 Dec 2003 12:55:25 -0000 1.95 --- analyse.nice 12 Dec 2003 22:08:33 -0000 1.96 *************** *** 446,449 **** --- 446,457 ---- if (e.alwaysOverloadedSymbol) { + if (sym instanceof MonoSymbol) + { + sym.used = true; + + if (sym instanceof Block.LocalVariable.Symbol) + checkInitialized(sym, info, e.location()); + } + return new OverloadedSymbolExp(sym, e.ident); } |