On Tue, Jun 1, 2010 at 5:27 PM, Dhaval Giani <[email protected]> wrote: > > > The autogenerated code fromt the lexer was calling exit on a > fatal error. Do not do that. Instead log the message. > > This is not ready to be merged yet since we still need to decide > what the correct action should be. > > It also introduces a new warning, which will be fixed in due course. > > Not-Yet-Signed-off-by: Dhaval Giani <[email protected]> > > Index: libcg/src/lex.l > =================================================================== > --- libcg.orig/src/lex.l > +++ libcg/src/lex.l > @@ -1,4 +1,4 @@ > -/* > +/*u
this is of course is me fat fingering around! > * Copyright IBM Corporation. 2007 > * > * Authors: Balbir Singh <[email protected]> > @@ -13,9 +13,12 @@ > > %{ > #include <string.h> > +#include <libcgroup.h> > +#include <libcgroup-internal.h> > #include "parse.h" > int line_no = 1; > > +#define YY_FATAL_ERROR(msg) cgroup_dbg(%s) > %} > > %% > > > ------------------------------------------------------------------------------ _______________________________________________ Libcg-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libcg-devel
