diff options
Diffstat (limited to 'lexers/LexPerl.cxx')
-rw-r--r-- | lexers/LexPerl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx index 5a7447af3..8fa516b34 100644 --- a/lexers/LexPerl.cxx +++ b/lexers/LexPerl.cxx @@ -662,7 +662,7 @@ void SCI_METHOD LexerPerl::Lex(unsigned int startPos, int length, int initStyle, } else if (initStyle == SCE_PL_POD || initStyle == SCE_PL_POD_VERB ) { - // POD backtracking finds preceeding blank lines and goes back past them + // POD backtracking finds preceding blank lines and goes back past them int ln = styler.GetLine(startPos); if (ln > 0) { initStyle = styler.StyleAt(styler.LineStart(--ln)); @@ -1159,12 +1159,12 @@ void SCI_METHOD LexerPerl::Lex(unsigned int startPos, int length, int initStyle, sc.ForwardSetState(SCE_PL_DEFAULT); HereDoc.State = 3; } else { - // invalid indentifier; inexact fallback, but hey + // invalid identifier; inexact fallback, but hey sc.ChangeState(SCE_PL_IDENTIFIER); sc.SetState(SCE_PL_DEFAULT); } } else { - sc.ChangeState(SCE_PL_DEFAULT); // invalid indentifier + sc.ChangeState(SCE_PL_DEFAULT); // invalid identifier } backFlag = BACK_NONE; break; |