diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 12:33:29 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 12:39:37 +0100 |
commit | 70511e6e1596f98cf908938373b6bfc7f6370248 (patch) | |
tree | 4e69f03682687109772204c4bcfa16c26ebb7348 /connectivity/source | |
parent | 74816f998b5d947edaba21102d6b0de28016aec7 (diff) |
Errors in comments
Diffstat (limited to 'connectivity/source')
-rwxr-xr-x | connectivity/source/parse/sqlbison.y | 2 | ||||
-rwxr-xr-x | connectivity/source/parse/sqlflex.l | 2 |
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) |