diff options
-rw-r--r-- | idlc/inc/idlctypes.hxx | 2 | ||||
-rw-r--r-- | idlc/source/errorhandler.cxx | 4 | ||||
-rw-r--r-- | idlc/source/parser.y | 2 | ||||
-rw-r--r-- | idlc/test/parser/attribute.tests | 2 |
4 files changed, 5 insertions, 5 deletions
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; }; |