summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-10-30 12:32:08 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-10-30 12:39:37 +0100
commit74816f998b5d947edaba21102d6b0de28016aec7 (patch)
tree3caec724f00e2389dbb4b9dbae975f976066009c /connectivity
parent338ea7617f33d975cc35f44030f522ec5d77adfb (diff)
translate comments
Diffstat (limited to 'connectivity')
-rwxr-xr-xconnectivity/source/parse/sqlbison.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index e83a122b75a5..455084b5767a 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -4733,8 +4733,8 @@ OSQLParseNode* OSQLParser::parseTree(::rtl::OUString& rErrorMessage,
//-----------------------------------------------------------------------------
sal_uInt32 OSQLParser::StrToRuleID(const ::rtl::OString & rValue)
{
- // In yysvar nach dem angegebenen Namen suchen, den Index zurueckliefern
- // (oder 0, wenn nicht gefunden)
+ // Search for the given name in yysvar and return the index
+ // (or UNKNOWN_RULE, if not found)
static sal_uInt32 nLen = SAL_N_ELEMENTS(yytname);
for (sal_uInt32 i = YYTRANSLATE(SQL_TOKEN_INVALIDSYMBOL); i < (nLen-1); i++)
{
@@ -4742,7 +4742,7 @@ sal_uInt32 OSQLParser::StrToRuleID(const ::rtl::OString & rValue)
return i;
}
- // Nicht gefunden
+ // Not found
return OParseNode::UNKNOWN_RULE;
}