Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-04-08 14:24:00


The reason why globals are used in the graphviz parsing stuff is because
it is using flex/bison, which by default uses globals and forces us to
also use globals. I think there's a way to get flex/bison to be reentrant,
but I don't have the time to look at it right now.

On Sun, 8 Apr 2001 raphael.bossek_at_[hidden] wrote:

raphae> hi Jeremy,
raphae>
raphae> > I don't know how to setup flex/bison to make it possible to create two
raphae> > parser instances without having multiply defined symbols. If anyone
raphae> knows
raphae> > how to do this, I'm all ears.
raphae>
raphae> I do not know exactly the sense of your global defined variables but
raphae> it smell for me as a poor design. What will happen if someone is using
raphae> a multithreaded application for example? Why can you not use two
raphae> different classes where all the memers and methods are defined? On the
raphae> first look it makes not difference...
raphae>
raphae> --
raphae> Raphael Bossek
raphae>
raphae>
raphae> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
raphae>
raphae>
raphae> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
raphae>
raphae>
raphae>

----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk