Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison pygments_lexer_pseudocode2/algpseudocode.py @ 114:be50fe0687d6
The \CALL command
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 06 May 2026 01:10:11 +0200 |
| parents | 9aea2fd5f037 |
| children | e1663ac707b0 |
comparison
equal
deleted
inserted
replaced
| 113:9aea2fd5f037 | 114:be50fe0687d6 |
|---|---|
| 347 include("ascii-punctuation"), | 347 include("ascii-punctuation"), |
| 348 include("unicode-punctuation"), | 348 include("unicode-punctuation"), |
| 349 include("escaped-string-start"), | 349 include("escaped-string-start"), |
| 350 include("py-strings"), | 350 include("py-strings"), |
| 351 include("py-numbers"), | 351 include("py-numbers"), |
| 352 (r"(?i)\\call[ \t]*(\{)", LexBase.op_ignore, "entity-name"), | |
| 352 (r"(?i)\\gets\b", op_gets), | 353 (r"(?i)\\gets\b", op_gets), |
| 353 (r"(?i)\\text[ \t]*\{", LexBase.op_ignore, "text-in-expr"), | 354 (r"(?i)\\text[ \t]*\{", LexBase.op_ignore, "text-in-expr"), |
| 354 include("explicit-tokentype"), | 355 include("explicit-tokentype"), |
| 355 include("remark"), | 356 include("remark"), |
| 356 include("keyword-constants"), | 357 include("keyword-constants"), |
| 363 include("ascii-punctuation-in-braces"), | 364 include("ascii-punctuation-in-braces"), |
| 364 include("unicode-punctuation"), | 365 include("unicode-punctuation"), |
| 365 include("escaped-string-start"), | 366 include("escaped-string-start"), |
| 366 include("py-strings"), | 367 include("py-strings"), |
| 367 include("py-numbers"), | 368 include("py-numbers"), |
| 369 (r"(?i)\\call[ \t]*(\{)", LexBase.op_ignore, "entity-name"), | |
| 368 (r"(?i)\\gets\b", op_gets), | 370 (r"(?i)\\gets\b", op_gets), |
| 369 (r"(?i)\\text[ \t]*\{", LexBase.op_ignore, "text-in-expr"), | 371 (r"(?i)\\text[ \t]*\{", LexBase.op_ignore, "text-in-expr"), |
| 370 include("explicit-tokentype"), | 372 include("explicit-tokentype"), |
| 371 include("remark"), | 373 include("remark"), |
| 372 include("keyword-constants"), | 374 include("keyword-constants"), |
