summaryrefslogtreecommitdiff
path: root/autodoc/source/parser
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/parser')
-rw-r--r--autodoc/source/parser/adoc/tk_attag.cxx27
-rw-r--r--autodoc/source/parser/cpp/all_toks.hxx5
-rw-r--r--autodoc/source/parser/cpp/pe_class.cxx9
-rw-r--r--autodoc/source/parser/cpp/pe_class.hxx7
-rw-r--r--autodoc/source/parser/cpp/pe_expr.cxx27
-rw-r--r--autodoc/source/parser/cpp/pe_file.hxx17
-rw-r--r--autodoc/source/parser/inc/tokens/tkp.hxx6
-rw-r--r--autodoc/source/parser/inc/tokens/tokdeal.hxx20
8 files changed, 6 insertions, 112 deletions
diff --git a/autodoc/source/parser/adoc/tk_attag.cxx b/autodoc/source/parser/adoc/tk_attag.cxx
index 5944f99ca715..6c9b500d4740 100644
--- a/autodoc/source/parser/adoc/tk_attag.cxx
+++ b/autodoc/source/parser/adoc/tk_attag.cxx
@@ -37,33 +37,6 @@
namespace adoc {
-#if 0
-#define EV_AtTagId( val, tex ) ENUM_VALUE(E_AtTagId, eATTAGID_##val, val, tex )
-
-EV_AtTagId(atid_ATT, "ATTENTION" );
-EV_AtTagId(atid_author, "Author" );
-EV_AtTagId(atid_change, "Change" );
-EV_AtTagId(atid_collab, "Collaborators" );
-EV_AtTagId(atid_contact, "Contact" );
-EV_AtTagId(atid_copyright, "Copyright (c)" );
-EV_AtTagId(atid_descr, "Description" );
-EV_AtTagId(atid_devstat, "Development State" );
-EV_AtTagId(atid_docdate, "Date of Documentation" );
-EV_AtTagId(atid_derive, "How to Derive from this class" );
-EV_AtTagId(atid_instance, "Instances" );
-EV_AtTagId(atid_life, "Lifecycle" );
-EV_AtTagId(atid_multi, "Multiplicity" );
-EV_AtTagId(atid_onerror, "On Error" );
-EV_AtTagId(atid_persist, "Persistence" );
-EV_AtTagId(atid_postcond, "Postcondition" );
-EV_AtTagId(atid_precond, "Precondition" );
-EV_AtTagId(atid_return, "Return" );
-EV_AtTagId(atid_short, "Summary" );
-EV_AtTagId(atid_since, "Valid Since" );
-EV_AtTagId(atid_todo, "Todo" );
-EV_AtTagId(atid_version, "Version" );
-#endif // 0
-
void
Tok_at_std::Trigger( TokenInterpreter & io_rInterpreter ) const
{
diff --git a/autodoc/source/parser/cpp/all_toks.hxx b/autodoc/source/parser/cpp/all_toks.hxx
index 485588d5fbc1..aba0aaad55d4 100644
--- a/autodoc/source/parser/cpp/all_toks.hxx
+++ b/autodoc/source/parser/cpp/all_toks.hxx
@@ -184,7 +184,7 @@ class Tok_UnblockMacro : public ::TextToken
-#if 0 // just for viewing:
+/* just for viewing:
class Tok_TypeKey : public cpp::Token // file-><type-PE>
class Tok_Template : public cpp::Token // file
class Tok_Namespace : public cpp::Token // file
@@ -211,8 +211,7 @@ class Tok_Operator : public cpp::Token // expression
class Tok_Ignore : public cpp::Token
class Tok_ContextChanger : public cpp::Token
-#endif // 0
-
+*/
} // namespace cpp
diff --git a/autodoc/source/parser/cpp/pe_class.cxx b/autodoc/source/parser/cpp/pe_class.cxx
index 0a1d244b8578..1b4910aff9be 100644
--- a/autodoc/source/parser/cpp/pe_class.cxx
+++ b/autodoc/source/parser/cpp/pe_class.cxx
@@ -213,15 +213,6 @@ PE_Class::Setup_StatusFunctions()
SEMPARSE_CREATE_STATUS(PE_Class, inProtection, Hdl_SyntaxError);
SEMPARSE_CREATE_STATUS(PE_Class, afterDecl, On_afterDecl_Return2Type);
-#if 0
- static F_Tok stateF_inFriend[] = { On_inFriend_class,
- On_inFriend_struct,
- On_inFriend_union };
- // Default: On_inFriend_Function
- static INT16 stateT_inFriend[] = { Tid_class,
- Tid_struct,
- Tid_union };
-#endif // 0
}
void
diff --git a/autodoc/source/parser/cpp/pe_class.hxx b/autodoc/source/parser/cpp/pe_class.hxx
index 737bb3a4111d..f14d8ce97b80 100644
--- a/autodoc/source/parser/cpp/pe_class.hxx
+++ b/autodoc/source/parser/cpp/pe_class.hxx
@@ -219,7 +219,7 @@ PE_Class::Result_FirstNameSegment() const
} // namespace cpp
-#if 0 // Branches
+/* // Branches
class struct union
-> Class
@@ -247,10 +247,7 @@ virtual
using
-> Using Declaration
-
-
-#endif // 0
-
+*/
#endif
diff --git a/autodoc/source/parser/cpp/pe_expr.cxx b/autodoc/source/parser/cpp/pe_expr.cxx
index 1d9b18dacadf..0594e57077c5 100644
--- a/autodoc/source/parser/cpp/pe_expr.cxx
+++ b/autodoc/source/parser/cpp/pe_expr.cxx
@@ -55,33 +55,6 @@ void
PE_Expression::Call_Handler( const cpp::Token & i_rTok )
{
pStati->Cur().Call_Handler(i_rTok.TypeId(), i_rTok.Text());
-
-#if 0
- switch (i_rTok.TypeId())
- {
- case Tid_SwBracket_Left: SetTokenResult(done, stay);
- nBracketCounter++;
- bBlockOpened = true;
- break;
- case Tid_SwBracket_Right: SetTokenResult(done, stay);
- nBracketCounter--;
- break;
- case Tid_Semicolon: if (nBracketCounter == 0)
- SetTokenResult(done, pop_success);
- else
- SetTokenResult(done, stay);
- break;
- default:
- if ( bBlockOpened AND nBracketCounter == 0 )
- {
- SetTokenResult(not_done, pop_success);
- }
- else
- {
- SetTokenResult(done, stay);
- }
- } // end switch
-#endif // 0
}
void
diff --git a/autodoc/source/parser/cpp/pe_file.hxx b/autodoc/source/parser/cpp/pe_file.hxx
index eb88a311e558..86f10e5443e8 100644
--- a/autodoc/source/parser/cpp/pe_file.hxx
+++ b/autodoc/source/parser/cpp/pe_file.hxx
@@ -51,12 +51,6 @@ namespace cpp {
class PE_Defines;
class PE_Ignore;
-#if 0
-class PE_Template;
-class PE_Extern;
-#endif
-
-
class PE_File : public Cpp_PE
{
public:
@@ -83,9 +77,6 @@ class PE_File : public Cpp_PE
typedef SubPe< PE_File, PE_TemplateTop> SP_Template;
typedef SubPe< PE_File, PE_Defines> SP_Defines;
typedef SubPe< PE_File, PE_Ignore > SP_Ignore;
-#if 0
- typedef SubPe< PE_File, PE_Using> SP_Using;
-#endif // 0
typedef SubPeUse< PE_File, PE_Namespace> SPU_Namespace;
typedef SubPeUse< PE_File, PE_Typedef> SPU_Typedef;
@@ -136,9 +127,6 @@ class PE_File : public Cpp_PE
Dyn<SP_Defines> pSpDefs;
Dyn<SP_Ignore> pSpIgnore;
-#if 0
- SP_Using aSpUsing;
-#endif // 0
Dyn<SPU_Namespace> pSpuNamespace;
Dyn<SPU_Typedef> pSpuTypedef;
@@ -159,7 +147,7 @@ class PE_File : public Cpp_PE
-#if 0 // Branches
+/* // Branches
namespace
-> Named Namespace declaration
@@ -202,8 +190,7 @@ using
-> Using-Declaration
-> Using-Directive
-#endif // 0
-
+*/
#endif
diff --git a/autodoc/source/parser/inc/tokens/tkp.hxx b/autodoc/source/parser/inc/tokens/tkp.hxx
index 6623230e9603..e3b0939c1f78 100644
--- a/autodoc/source/parser/inc/tokens/tkp.hxx
+++ b/autodoc/source/parser/inc/tokens/tkp.hxx
@@ -48,12 +48,6 @@ class TkpContext;
The algorithms for parsing tokens from the text are an issue of
the derived classes.
*/
-#if 0
-/**
- Parsing can be interrupted for a different source by PushSource().
- The parsing before interruption is continued after PopSource().
-*/
-#endif // 0
class TokenParser
{
diff --git a/autodoc/source/parser/inc/tokens/tokdeal.hxx b/autodoc/source/parser/inc/tokens/tokdeal.hxx
index 0ab4155a42e3..3302c09d87ec 100644
--- a/autodoc/source/parser/inc/tokens/tokdeal.hxx
+++ b/autodoc/source/parser/inc/tokens/tokdeal.hxx
@@ -53,25 +53,5 @@ class TokenDealer
AsDistributor() = 0;
};
-
-#if 0
-class TokenDealer
-
-{
- public:
- virtual void Deal_IdlCode(
- idl::Token & let_drToken );
- virtual void Deal_UdkDocu(
- udoc::Token & let_drToken );
- virtual void Deal_JavaCode(
- java::Token & let_drToken );
- virtual void Deal_SBasicCode(
- sbasic::Token & let_drToken );
-};
-
-#endif // 0
-
-
-
#endif