summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-10-30 12:33:29 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-10-30 12:39:37 +0100
commit70511e6e1596f98cf908938373b6bfc7f6370248 (patch)
tree4e69f03682687109772204c4bcfa16c26ebb7348 /connectivity
parenttranslate comments (diff)
downloadcore-70511e6e1596f98cf908938373b6bfc7f6370248.tar.gz
core-70511e6e1596f98cf908938373b6bfc7f6370248.zip
Errors in comments
Diffstat (limited to 'connectivity')
-rwxr-xr-xconnectivity/source/parse/sqlbison.y2
-rwxr-xr-xconnectivity/source/parse/sqlflex.l2
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 455084b5767a..8ac72ac7ad65 100755
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -4733,7 +4733,7 @@ OSQLParseNode* OSQLParser::parseTree(::rtl::OUString& rErrorMessage,
//-----------------------------------------------------------------------------
sal_uInt32 OSQLParser::StrToRuleID(const ::rtl::OString & rValue)
{
- // Search for the given name in yysvar and return the index
+ // Search for the given name in yytname 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++)
diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l
index d5166c783ac2..d5b2f142bac0 100755
--- a/connectivity/source/parse/sqlflex.l
+++ b/connectivity/source/parse/sqlflex.l
@@ -598,7 +598,7 @@ sal_Int32 mapEnumToToken(IParseContext::InternationalKeyCode _eKeyCode )
}
/*
* Read SQL Name literal
- * Valid Names or internatioanl keywords:
+ * Valid Names or international keywords:
* As we have international keywords, we test first on them
*/
sal_Int32 gatherName(const sal_Char* text)