[Libreoffice-commits] core.git: idlc/inc idlc/source idlc/test
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Sep 21 13:25:20 UTC 2020
idlc/inc/idlctypes.hxx | 2 +-
idlc/source/errorhandler.cxx | 4 ++--
idlc/source/parser.y | 2 +-
idlc/test/parser/attribute.tests | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit fec332602976676e1689a45ed846488f2484c89e
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 18:40:29 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Sep 21 15:24:43 2020 +0200
Fix typo in code
Change-Id: Ib026080d70fb7cf97f7f90079dbb4e1f6d77a05e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101197
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/idlc/inc/idlctypes.hxx b/idlc/inc/idlctypes.hxx
index 639360509968..c7247be6c86d 100644
--- a/idlc/inc/idlctypes.hxx
+++ b/idlc/inc/idlctypes.hxx
@@ -154,7 +154,7 @@ enum ParseState
PS_BoundSeen, // Seen BOUND keyword
PS_ConstrainedSeen, // Seen CONSTRAINED keyword
PS_TransientSeen, // Seen TRANSIENT keyword
- PS_MayBeAmbigiousSeen, // Seen MAYBEAMBIGIOUS keyword
+ PS_MayBeAmbiguousSeen, // Seen MAYBEAMBIGUOUS keyword
PS_MayBeDefaultSeen, // Seen MAYBEDEFAULT keyword
PS_RemoveableSeen, // Seen REMOVABLE keyword
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 6d2d92ea35e5..1e09bb995302 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -293,8 +293,8 @@ static const char* parseStateToMessage(ParseState state)
return "Illegal syntax after CONSTRAINED keyword";
case PS_TransientSeen:
return "Illegal syntax after TRANSIENT keyword";
- case PS_MayBeAmbigiousSeen:
- return "Illegal syntax after MAYBEAMBIGIOUS keyword";
+ case PS_MayBeAmbiguousSeen:
+ return "Illegal syntax after MAYBEAMBIGUOUS keyword";
case PS_MayBeDefaultSeen:
return "Illegal syntax after MAYBEDEFAULT keyword";
case PS_RemoveableSeen:
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 1d81492562d5..5238f3b5c879 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -805,7 +805,7 @@ opt_attrflag :
}
| IDL_MAYBEAMBIGUOUS
{
- idlc()->setParseState(PS_MayBeAmbigiousSeen);
+ idlc()->setParseState(PS_MayBeAmbiguousSeen);
$$ = AF_MAYBEAMBIGUOUS;
}
| IDL_MAYBEDEFAULT
diff --git a/idlc/test/parser/attribute.tests b/idlc/test/parser/attribute.tests
index 73b9d348501a..dd0b85bde9c5 100644
--- a/idlc/test/parser/attribute.tests
+++ b/idlc/test/parser/attribute.tests
@@ -182,7 +182,7 @@ interface I1 {
EXPECT FAILURE "attribute.tests 21":
interface I1 {
- [attribute, maybeambigious] long a;
+ [attribute, maybeambiguous] long a;
};
More information about the Libreoffice-commits
mailing list