1
0
mirror of synced 2026-04-29 13:23:49 +00:00

functional_ir.rst: Fix typo

This commit is contained in:
Krystine Sherwin
2025-01-06 14:30:55 +13:00
parent 23fa9b2014
commit f4c7377ac1

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``.