Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison docs/details-algpseudocode.rst @ 162:11ce0903ff8b
Yield lone backslash characters in expressions that not really escape anything as "Generic.Error" now.
In text-mode do this not.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 08 May 2026 17:58:50 +0200 |
| parents | b4028838e0c8 |
| children | a4317957148b |
comparison
equal
deleted
inserted
replaced
| 161:00a432d14508 | 162:11ce0903ff8b |
|---|---|
| 172 - Parameters are enclosed in curly braces ``{`` and ``}`` | 172 - Parameters are enclosed in curly braces ``{`` and ``}`` |
| 173 - Escaping within the braces is possible using the backslash ``\`` | 173 - Escaping within the braces is possible using the backslash ``\`` |
| 174 - Parameters are separated from the keyword/command by a (possibly empty) run | 174 - Parameters are separated from the keyword/command by a (possibly empty) run |
| 175 of space or TAB characters. | 175 of space or TAB characters. |
| 176 This is true for required and optional parameters. | 176 This is true for required and optional parameters. |
| 177 | |
| 178 .. todo:: Escaping | |
| 179 | |
| 180 A single backslash is a Generic.Error token | |
| 177 | 181 |
| 178 | 182 |
| 179 With Required Parameters | 183 With Required Parameters |
| 180 ~~~~~~~~~~~~~~~~~~~~~~~~ | 184 ~~~~~~~~~~~~~~~~~~~~~~~~ |
| 181 | 185 |
