summaryrefslogtreecommitdiffstats
path: root/autodoc/source/parser/cpp
diff options
context:
space:
mode:
authorAllmann-Rahn <allmann-rahn@ubuntu.ubuntu-domain>2011-08-22 11:39:37 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-08-23 17:36:50 +0100
commitfbc30846acc2391a4c323c07ea04b308a685ce46 (patch)
tree83da7330222d751cfed20898f79f3b7a8d9b4ebe /autodoc/source/parser/cpp
parentfix $JRELIBDIR/$JRETOOLKITDIR/$JRETHREADDIR for mips(el) (missing /jre) (diff)
downloadcore-fbc30846acc2391a4c323c07ea04b308a685ce46.tar.gz
core-fbc30846acc2391a4c323c07ea04b308a685ce46.zip
Translated German comments and removed the redundant ones in the directories accessibility to (incl.) basebmp.
Diffstat (limited to 'autodoc/source/parser/cpp')
-rw-r--r--autodoc/source/parser/cpp/cx_c_std.cxx16
-rw-r--r--autodoc/source/parser/cpp/cx_c_sub.cxx2
-rw-r--r--autodoc/source/parser/cpp/pe_funct.hxx25
-rw-r--r--autodoc/source/parser/cpp/pe_vafu.hxx24
4 files changed, 33 insertions, 34 deletions
diff --git a/autodoc/source/parser/cpp/cx_c_std.cxx b/autodoc/source/parser/cpp/cx_c_std.cxx
index 73eed711dad4..c3710d66332b 100644
--- a/autodoc/source/parser/cpp/cx_c_std.cxx
+++ b/autodoc/source/parser/cpp/cx_c_std.cxx
@@ -239,12 +239,12 @@ Context_CppStd::PerformStatusFunction( uintt i_nStatusSignal,
void
Context_CppStd::SetupStateMachine()
{
- // Besondere Array-Stati (kein Tokenabschluss oder Kontextwechsel):
-// const INT16 top = 0; // Top-Status
- const INT16 wht = 1; // Whitespace-überlese-Status
- const INT16 bez = 2; // Bezeichner-lese-Status
+ // special array statuses (no tokenfinish or change of context):
+// const INT16 top = 0; // top status
+ const INT16 wht = 1; // skip whitespace status
+ const INT16 bez = 2; // read identifier status
- // Tokenfinish-Stati:
+ // tokenfinish statuses:
const INT16 finError = 3;
const INT16 finIgnore = 4;
const INT16 finBezeichner = 5;
@@ -255,7 +255,7 @@ Context_CppStd::SetupStateMachine()
const INT16 finEOL = 10;
const INT16 finEOF = 11;
- // Kontextwechsel-Stati:
+ // change of context statuses:
const INT16 gotoComment = 12;
const INT16 gotoDocu = 13;
const INT16 gotoPreprocessor = 14;
@@ -264,7 +264,7 @@ Context_CppStd::SetupStateMachine()
const INT16 gotoConstNumeric = 17;
const INT16 gotoUnblockMacro = 18;
- // Abbreviations to be used in status tables:
+ // abbreviations to be used in status tables:
const INT16 err = finError;
const INT16 fig = finIgnore;
const INT16 fbz = finBezeichner;
@@ -378,7 +378,7 @@ Context_CppStd::SetupStateMachine()
DYN StmBoundsStatus * dpBst_gotoUnblockMacro
= new StmBoundsStatus( *this, *pContext_UnblockMacro, nF_goto_UnblockMacro, false );
- // dpMain aufbauen:
+ // construct dpMain:
aStateMachine.AddStatus(dpStatusTop);
aStateMachine.AddStatus(dpStatusWhite);
diff --git a/autodoc/source/parser/cpp/cx_c_sub.cxx b/autodoc/source/parser/cpp/cx_c_sub.cxx
index 76e5779312b4..fbdd50529cd5 100644
--- a/autodoc/source/parser/cpp/cx_c_sub.cxx
+++ b/autodoc/source/parser/cpp/cx_c_sub.cxx
@@ -144,7 +144,7 @@ Context_ConstNumeric::ReadCharChain(CharacterSource & io_rText)
if (cNext == '+' OR cNext == '-')
cNext = io_rText.MoveOn();
} // endif
- } while (isalnum(cNext) OR cNext == '.'); // Reicht aus, wenn Zahlen korrekt geschrieben sind
+ } while (isalnum(cNext) OR cNext == '.'); // suffices, if the numbers are spelled correctly
SetNewToken(new Tok_Constant(io_rText.CutToken()));
}
diff --git a/autodoc/source/parser/cpp/pe_funct.hxx b/autodoc/source/parser/cpp/pe_funct.hxx
index 20d8b5e35d5c..2f6a183150bb 100644
--- a/autodoc/source/parser/cpp/pe_funct.hxx
+++ b/autodoc/source/parser/cpp/pe_funct.hxx
@@ -219,16 +219,16 @@ PE_Function::Result_WithImplementation() const
-/* // Overview of Stati
+/* // Overview of statuses
Undecided
---------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
+expectName // type is there
afterName
@@ -238,18 +238,17 @@ afterName
Variable
--------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da -> im Falle von '(': notyetimplemented
+expectName // type is there -> in case of '(': notyetimplemented
afterName
expectSize // after [
expectFinish
- // vor ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
-
+ // before ; or ,
+expectNextVarName // in contrast to expectName here can also be a * or &
@@ -257,13 +256,13 @@ expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
Function
--------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
-expectBracket // Nach Name
-expectParameter // nach ( oder ,
+expectName // type is there
+expectBracket // after name
+expectParameter // after ( or ,
-> Parameter
after Parameters // before const, volatile throw or = 0.
after throw // expect (
@@ -271,7 +270,7 @@ expectException // after (
after exceptions // = 0 oder ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+expectNextVarName // in contrast to expectName here can also be a * or &
diff --git a/autodoc/source/parser/cpp/pe_vafu.hxx b/autodoc/source/parser/cpp/pe_vafu.hxx
index c31bbb5daf47..0fa760c36b0a 100644
--- a/autodoc/source/parser/cpp/pe_vafu.hxx
+++ b/autodoc/source/parser/cpp/pe_vafu.hxx
@@ -223,12 +223,12 @@ PE_VarFunc::Result_CeType() const
#endif
-/* // Overview of Stati
+/* // Overview of statuses
Undecided
---------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
any ->stay
operaator ->goto Function
@@ -246,17 +246,17 @@ afterName ->goto Variable or Function
Variable
--------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da -> im Falle von '(': notyetimplemented
+expectName // type is there -> in case of '(': notyetimplemented
afterName
expectSize // after [
expectFinish
- // vor ; oder ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+ // before ; or ,
+expectNextVarName // in contrast to expectName here can also be a * or &
@@ -265,21 +265,21 @@ expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
Function
--------
-start // vor und während storage class specifiern
+start // before and inside storage class specifiers
->Typ
-expectName // Typ ist da
-expectBracket // Nach Name
-expectParameter // nach ( oder ,
+expectName // type is there
+expectBracket // after name
+expectParameter // after ( or ,
-> Parameter
after Parameters // before const, volatile throw or = 0.
after throw // expect (
expectException // after (
-after exceptions // = 0 oder ; oder ,
+after exceptions // = 0 or ; or ,
-expectNextVarName // anders als bei expectName kann hier auch * oder & kommen
+expectNextVarName // in contrast to expectName here can also be a * or &