diff pygments_lexer_pseudocode2/algpseudocode.py @ 159:4ee0b1536ea6

Handle runs of dots in expressions (., .., ..., ...., ...)
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 08 May 2026 17:13:26 +0200
parents 380d2607d5c7
children b4028838e0c8
line wrap: on
line diff
--- a/pygments_lexer_pseudocode2/algpseudocode.py	Fri May 08 16:44:30 2026 +0200
+++ b/pygments_lexer_pseudocode2/algpseudocode.py	Fri May 08 17:13:26 2026 +0200
@@ -461,6 +461,7 @@
              Keyword.Constant),
         ],
         "ascii-punctuation": [
+            (r"\.+", Punctuation),
             (r"[{}:(),;[\]?@]", Punctuation),
         ],
         "ascii-punctuation-in-braces": [