From 592e9262b1e6190e6763fbf9c2e029f4235cc0f9 Mon Sep 17 00:00:00 2001 From: Eelis van der Weegen Date: Sat, 18 Jul 2026 09:59:09 +0200 Subject: [PATCH] [ifndr:lex.name.reserved] Don't escape underscores in \tcode. --- source/ifndr.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/ifndr.tex b/source/ifndr.tex index 0b4592b421..0aefe28887 100644 --- a/source/ifndr.tex +++ b/source/ifndr.tex @@ -32,12 +32,12 @@ \pnum \begin{example} \begin{codeblock} -int _z; // IFNDR, \tcode{\_z} is reserved because it starts with \tcode{\_} at global scope +int _z; // IFNDR, \tcode{_z} is reserved because it starts with \tcode{_} at global scope int main() { - int __x; // IFNDR, \tcode{\_\_x} is reserved because it starts with \tcode{\_\_} - int _Y; // IFNDR, \tcode{\_Y} is reserved because it starts with \tcode{\_} followed by a capital letter - int x__y; // IFNDR, \tcode{x\_\_y} is reserved because it contains \tcode{\_\_} + int __x; // IFNDR, \tcode{__x} is reserved because it starts with \tcode{__} + int _Y; // IFNDR, \tcode{_Y} is reserved because it starts with \tcode{_} followed by a capital letter + int x__y; // IFNDR, \tcode{x__y} is reserved because it contains \tcode{__} } \end{codeblock} \end{example}