diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-22 18:40:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-09-21 15:24:43 +0200 |
commit | fec332602976676e1689a45ed846488f2484c89e (patch) | |
tree | 1062e5da85b72dc85d6065c4bace1fc0e19b4cb7 /idlc/source | |
parent | 137440e161f0f8631e7e67ba0609680d6686fa94 (diff) |
Fix typo in code
Change-Id: Ib026080d70fb7cf97f7f90079dbb4e1f6d77a05e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101197
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/errorhandler.cxx | 4 | ||||
-rw-r--r-- | idlc/source/parser.y | 2 |
2 files changed, 3 insertions, 3 deletions
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 |