summaryrefslogtreecommitdiff
path: root/compiler/GHC/Parser/Lexer.x
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Parser/Lexer.x')
-rw-r--r--compiler/GHC/Parser/Lexer.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser/Lexer.x b/compiler/GHC/Parser/Lexer.x
index 71e5fa5eb8..12928d8c0e 100644
--- a/compiler/GHC/Parser/Lexer.x
+++ b/compiler/GHC/Parser/Lexer.x
@@ -2431,7 +2431,7 @@ data PState = PState {
-- implement pushCurrentContext (which is only called from one place).
-- AZ question: setLastToken which sets last_loc and last_len
- -- is called whan processing AlexToken, immediately prior to
+ -- is called when processing AlexToken, immediately prior to
-- calling the action in the token. So from the perspective
-- of the action, it is the *current* token. Do I understand
-- correctly?