functional_ir.rst: Fix typo

This commit is contained in:
Krystine Sherwin 2025-01-06 14:30:55 +13:00
parent 23fa9b2014
commit f4c7377ac1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ and supply the following:
are used for ``Functional::IR`` nodes) or ``IdString``.
- The derived class should provide a constructor that calls ``reserve`` for
every reserved word in the target language.
- A method ``bool is_legal_character(char c, int index)`` has to be provided
- A method ``bool is_character_legal(char c, int index)`` has to be provided
that returns ``true`` iff ``c`` is legal in an identifier at position
``index``.