[pet] YY code

Stephan Oepen oe at ifi.uio.no
Tue Jul 17 19:11:14 CEST 2007


hi again,

> sure, sounds OK. I was mostly concerned about things like
> 'nth-meaning', since i'm trying to get rid of as many global variables
> as possible, or at least make them either local to some module/file or
> a static variable of some class. 
> 
> If i could get rid of that variable immediately, i'd be very happy.

i think you should be very happy!  i am confident that these can all go
immediately:

  opt_k2y_segregation, opt_k2y, opt_nth_meaning

there are some references to these in `yy.cpp', but it will be safe to 
#ifdef 0 all of them; possibly, without YY_L2_INTERFACE defined things
may already be fine, even without those K2Y globals ...

if you want me to, i can maybe make the above changes in the next few
days, and check them in together with my PET update to change the form
of [incr tsdb()] derivations?

                                                          best  -  oe

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (IFI); Boks 1080 Blindern; 0316 Oslo; (+47) 2284 0125
+++     CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++       --- oe at ifi.uio.no; oe at csli.stanford.edu; stephan at oepen.net ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the pet mailing list