diff options
author | Povilas Kanapickas <povilas.kanapickas@gmail.com> | 2010-10-18 15:52:09 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-10-18 15:52:09 +0100 |
commit | 3eb979df547419645bb3c824f1dc4a5fdc8d0250 (patch) | |
tree | c23e118a69931c1bb8a0c8397f3753256e31c17a /autodoc/source/parser_i | |
parent | b09ac477d2ba4ceed63072d31a957cbf783cfcf2 (diff) |
remove non-compiled code
Diffstat (limited to 'autodoc/source/parser_i')
-rw-r--r-- | autodoc/source/parser_i/idl/pe_singl.cxx | 25 | ||||
-rw-r--r-- | autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx | 25 |
2 files changed, 0 insertions, 50 deletions
diff --git a/autodoc/source/parser_i/idl/pe_singl.cxx b/autodoc/source/parser_i/idl/pe_singl.cxx index 6b1d99291118..292d380323ac 100644 --- a/autodoc/source/parser_i/idl/pe_singl.cxx +++ b/autodoc/source/parser_i/idl/pe_singl.cxx @@ -49,31 +49,6 @@ namespace uidl { - -#if 0 -#ifdef DF -#undef DF -#endif -#define DF &PE_Singleton::On_Default - - -PE_Singleton::F_TOK -PE_Singleton::aDispatcher[PE_Singleton::e_STATES_MAX][PE_Singleton::tt_MAX] = - { { DF, DF, DF }, // e_none - { DF, &PE_Singleton::On_need_name_Identifer, - DF }, // need_name - { DF, DF, &PE_Singleton::On_need_curlbr_open_Punctuation, - }, // need_curlbr_open - { &PE_Singleton::On_std_GotoService, - DF, &PE_Singleton::On_std_Punctuation, - }, // e_std - { DF, DF, DF }, // in_service - { DF, DF, &PE_Interface::On_need_finish_Punctuation, - } // need_finish - }; -#endif // 0 - - PE_Singleton::PE_Singleton() : eState(e_none), sData_Name(), diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx index 5b1507d9e8ca..a2a39967728e 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx @@ -93,31 +93,6 @@ class PE_Singleton : public UnoIDL_PE, e_STATES_MAX }; - -#if 0 - enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. - { - tt_metatype = 0, - tt_identifier = 1, - tt_punctuation = 2, - tt_startoftype = 3, - tt_MAX - }; - typedef void (PE_Singleton::*F_TOK)(const char *); - - - void On_need_singleton_MetaType(const char * i_sText); - void On_need_name_Identifer(const char * i_sText); - void On_need_curlbr_open_Punctuation(const char * i_sText); - void On_std_GotoService(const char * i_sText); - void On_std_Punctuation(const char * i_sText); - void On_need_finish_Punctuation(const char * i_sText); - - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); -#endif // 0 - void On_Default(); virtual void InitData(); |