@@ -423,7 +423,7 @@ bool Scanner::GetNextLexeme(Lexeme& lexeme)
423423 else if (*mpNextChar == ' /' )
424424 {
425425 // Either division operator or start of comment.
426- lexeme.category = Lexeme::Category:: kOther ;
426+ lexeme.category = Lexeme::kOther ;
427427 if (!CopyAndAdvance (lexeme))
428428 return true ;
429429 if (*mpNextChar == ' /' )
@@ -442,7 +442,7 @@ bool Scanner::GetNextLexeme(Lexeme& lexeme)
442442 else if ((*mpNextChar == ' !' ) || (*mpNextChar == ' <' ) || (*mpNextChar == ' >' ))
443443 {
444444 // Either single-character operator or comparison.
445- lexeme.category = Lexeme::Category:: kOther ;
445+ lexeme.category = Lexeme::kOther ;
446446 if (!CopyAndAdvance (lexeme))
447447 return true ;
448448 if (*mpNextChar == ' =' )
@@ -457,7 +457,7 @@ bool Scanner::GetNextLexeme(Lexeme& lexeme)
457457 else
458458 {
459459 // Single-character operator (or not a valid lexeme at all)
460- lexeme.category = Lexeme::Category:: kOther ;
460+ lexeme.category = Lexeme::kOther ;
461461 (void )CopyAndAdvance (lexeme);
462462 return true ;
463463 }
@@ -513,7 +513,7 @@ bool Scanner::GetNextDirective(Lexeme& lexeme)
513513 {
514514 POV_PARSER_ASSERT (*mpNextChar == ' #' );
515515 // Found what we've been looking for.
516- lexeme.category = Lexeme::Category:: kOther ;
516+ lexeme.category = Lexeme::kOther ;
517517 (void )CopyAndAdvance (lexeme);
518518 return true ;
519519 }
@@ -529,7 +529,7 @@ bool Scanner::GetNextWordLexeme(Lexeme& lexeme)
529529 POV_PARSER_ASSERT (!mEndOfStream );
530530 POV_PARSER_ASSERT (IsIdentifierChar1 (*mpNextChar));
531531
532- lexeme.category = Lexeme::Category:: kWord ;
532+ lexeme.category = Lexeme::kWord ;
533533
534534 // Read identifier name.
535535 while (CopyAndAdvance (lexeme) && IsIdentifierChar2 (*mpNextChar))
@@ -544,7 +544,7 @@ bool Scanner::GetNextFloatLiteralLexeme(Lexeme& lexeme)
544544{
545545 POV_PARSER_ASSERT (!mEndOfStream );
546546
547- lexeme.category = Lexeme::Category:: kFloatLiteral ;
547+ lexeme.category = Lexeme::kFloatLiteral ;
548548
549549 if (!GetNextFloatLiteralDigits (lexeme))
550550 POV_PARSER_ASSERT (false );
@@ -577,7 +577,7 @@ bool Scanner::GetNextFloatLiteralOrDotLexeme(Lexeme& lexeme)
577577 if (CopyAndAdvance (lexeme) && IsDecimalDigit (*mpNextChar))
578578 {
579579 // Valid start of a numeric literal, starting with the decimal point.
580- lexeme.category = Lexeme::Category:: kFloatLiteral ;
580+ lexeme.category = Lexeme::kFloatLiteral ;
581581
582582 // Read fractional part.
583583 if (!GetNextFloatLiteralDigits (lexeme))
@@ -593,7 +593,7 @@ bool Scanner::GetNextFloatLiteralOrDotLexeme(Lexeme& lexeme)
593593 else
594594 {
595595 // Dot operator.
596- lexeme.category = Lexeme::Category:: kOther ;
596+ lexeme.category = Lexeme::kOther ;
597597
598598 // Dot has already been copied to lexeme.
599599
@@ -667,7 +667,7 @@ bool Scanner::GetNextStringLiteralLexeme(Lexeme& lexeme)
667667 POV_PARSER_ASSERT (!mEndOfStream );
668668 POV_PARSER_ASSERT (*mpNextChar == ' "' );
669669
670- lexeme.category = Lexeme::Category:: kStringLiteral ;
670+ lexeme.category = Lexeme::kStringLiteral ;
671671
672672 if (!CopyAndAdvance (lexeme))
673673 return false ;
0 commit comments