diff --git a/src/doxygen.md b/src/doxygen.md
index 4caa1981250..ccb47b94b15 100644
--- a/src/doxygen.md
+++ b/src/doxygen.md
@@ -169,8 +169,8 @@ easy ways to get debug information.
- validate
Currently not used
- lex
- Provide output of the `lex` files used. When a lexer ais started and when a lexer
- ends the name of `lex` file is given so it is possible to see in which lexer the
+ Provide output of the `lex` files used. When a lexer is started and when a lexer
+ ends the name of the `lex` file is given so it is possible to see in which lexer the
problem occurs. This makes it easier to select the file to be compiled in `lex` debug mode.
Producing output