X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FDEVEL%2Fmathml_editor%2Fsrc%2FAPushLexer.hh;h=342d18fe919dd4241408f68fc79f00bbbfc8059e;hb=d8c267e189086278b039eaf0e39f4fa5d256facc;hp=2243426d2ecfcc4378b6f91022ac28474135b0fb;hpb=89262281b6e83bd2321150f81f1a0583645eb0c8;p=helm.git diff --git a/helm/DEVEL/mathml_editor/src/APushLexer.hh b/helm/DEVEL/mathml_editor/src/APushLexer.hh index 2243426d2..342d18fe9 100644 --- a/helm/DEVEL/mathml_editor/src/APushLexer.hh +++ b/helm/DEVEL/mathml_editor/src/APushLexer.hh @@ -5,16 +5,16 @@ class APushLexer { public: - APushLexer(class APushParser& p) : parser(p) { }; + APushLexer(class ALogger& l, class APushParser& p) : logger(l), parser(p) { }; virtual ~APushLexer() { }; virtual void push(char) = 0; + virtual void drop(bool = false) = 0; virtual void reset(void) = 0; virtual bool error(void) const = 0; - //virtual void freeze(void); - //virtual void thaw(void); protected: + class ALogger& logger; class APushParser& parser; };