On Quinta, Julho 18, 2002, at 09:28 , J.R. van Ossenbruggen wrote: > Hi all, > > With the flag variable_names=check_singletons, Eclipse warns about > singleton variables, ignoring variables starting with '_'. > > However, read_term(+Stream, ?Term, [singletons(S)), returns > also the variable names starting with '_' (e.g. _Foobar). > > Since Logtalk uses the latter to warn me about singletons, this results > in a lot of unwanted warnings. Is there a way to suppress the > underscored > variables in read_term(+Stream, ?Term, [singletons(S))? I think that the ECLiPSe implementation of the singletons/1 option of the read_term/3 predicate should check the flag that you mention above and act accordingly. This will solve the problem. Is this a bug or a matter of flag scope? Cheers, Paulo ----------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Informatics Office 4.3 Ext. 3257 University of Beira Interior Phone: +351 275319700 6201-001 Covilhã Fax: +351 275319732 Portugal mailto:pmoura@di.ubi.pt http://www.logtalk.org/pmoura.html -----------------------------------------------------------Received on Thu Jul 18 11:15:27 2002
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:15 PM GMT GMT