This is an automated email from the ASF dual-hosted git repository.

damjan pushed a commit to branch odf-1.3
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/odf-1.3 by this push:
     new 2f2b5ee066 Translate comments for ScCompiler::NextSymbol() from German 
to English.
2f2b5ee066 is described below

commit 2f2b5ee0660524dba845a90c8ef13eae43ad1117
Author: Damjan Jovanovic <dam...@apache.org>
AuthorDate: Fri Jan 19 05:20:04 2024 +0200

    Translate comments for ScCompiler::NextSymbol() from German to English.
    
    Patch by: me
---
 main/sc/source/core/tool/compiler.cxx | 62 +++++++++++++++++------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/main/sc/source/core/tool/compiler.cxx 
b/main/sc/source/core/tool/compiler.cxx
index 1be443de46..2e740236df 100644
--- a/main/sc/source/core/tool/compiler.cxx
+++ b/main/sc/source/core/tool/compiler.cxx
@@ -1919,38 +1919,38 @@ sal_Unicode* lcl_UnicodeStrNCpy( sal_Unicode* pDst, 
const sal_Unicode* pSrc, xub
 //---------------------------------------------------------------------------
 // NextSymbol
 //---------------------------------------------------------------------------
-// Zerlegt die Formel in einzelne Symbole fuer die weitere
-// Verarbeitung (Turing-Maschine).
+// Breaks down the Formula into individual Symbols for further processing
+// (Turing-Machine).
 //---------------------------------------------------------------------------
-// Ausgangs Zustand = GetChar
-//---------------+-------------------+-----------------------+---------------
-// Alter Zustand | gelesenes Zeichen | Aktion                | Neuer Zustand
-//---------------+-------------------+-----------------------+---------------
-// GetChar       | ;()+-*/^=&        | Symbol=Zeichen        | Stop
-//               | <>                | Symbol=Zeichen        | GetBool
-//               | $ Buchstabe       | Symbol=Zeichen        | GetWord
-//               | Ziffer            | Symbol=Zeichen        | GetValue
-//               | "                 | Keine                 | GetString
-//               | Sonst             | Keine                 | GetChar
-//---------------+-------------------+-----------------------+---------------
-// GetBool       | =>                | Symbol=Symbol+Zeichen | Stop
-//               | Sonst             | Dec(CharPos)          | Stop
-//---------------+-------------------+-----------------------+---------------
-// GetWord       | SepSymbol         | Dec(CharPos)          | Stop
-//               | ()+-*/^=<>&~      |                       |
-//               | Leerzeichen       | Dec(CharPos)          | Stop
-//               | $_:.              |                       |
-//               | Buchstabe,Ziffer  | Symbol=Symbol+Zeichen | GetWord
-//               | Sonst             | Fehler                | Stop
-//---------------|-------------------+-----------------------+---------------
-// GetValue      | ;()*/^=<>&        |                       |
-//               | Leerzeichen       | Dec(CharPos)          | Stop
-//               | Ziffer E+-%,.     | Symbol=Symbol+Zeichen | GetValue
-//               | Sonst             | Fehler                | Stop
-//---------------+-------------------+-----------------------+---------------
-// GetString     | "                 | Keine                 | Stop
-//               | Sonst             | Symbol=Symbol+Zeichen | GetString
-//---------------+-------------------+-----------------------+---------------
+// Initial State = GetChar
+//---------------+-------------------+-------------------------+-------------
+// Former State  | read Character    | Action                  | New State
+//---------------+-------------------+-------------------------+-------------
+// GetChar       | ;()+-*/^=&        | Symbol=Character        | Stop
+//               | <>                | Symbol=Character        | GetBool
+//               | $ Letter          | Symbol=Character        | GetWord
+//               | Digit             | Symbol=Character        | GetValue
+//               | "                 | None                    | GetString
+//               | Otherwise         | None                    | GetChar
+//---------------+-------------------+-------------------------+-------------
+// GetBool       | =>                | Symbol=Symbol+Character | Stop
+//               | Otherwise         | Dec(CharPos)            | Stop
+//---------------+-------------------+-------------------------+-------------
+// GetWord       | SepSymbol         | Dec(CharPos)            | Stop
+//               | ()+-*/^=<>&~      |                         |
+//               | Space             | Dec(CharPos)            | Stop
+//               | $_:.              |                         |
+//               | Letter,Digit      | Symbol=Symbol+Character | GetWord
+//               | Otherwise         | Error                   | Stop
+//---------------|-------------------+-------------------------+-------------
+// GetValue      | ;()*/^=<>&        |                         |
+//               | Space             | Dec(CharPos)            | Stop
+//               | Digit E+-%,.      | Symbol=Symbol+Character | GetValue
+//               | Otherwise         | Error                   | Stop
+//---------------+-------------------+-------------------------+-------------
+// GetString     | "                 | None                    | Stop
+//               | Otherwise         | Symbol=Symbol+Character | GetString
+//---------------+-------------------+-------------------------+-------------
 
 xub_StrLen ScCompiler::NextSymbol(bool bInArray)
 {

Reply via email to