Mercurial > hgrepos > Python > libs > pygments-lexer-pseudocode2
comparison pygments_lexer_pseudocode2/bases.py @ 71:2ea86269e84e
Doc string
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 28 Apr 2026 19:03:10 +0200 |
| parents | 3f4223a79d2b |
| children | 206017a08ed7 |
comparison
equal
deleted
inserted
replaced
| 70:5517b0be67f0 | 71:2ea86269e84e |
|---|---|
| 68 Default flags are not important. | 68 Default flags are not important. |
| 69 | 69 |
| 70 """ | 70 """ |
| 71 | 71 |
| 72 def op_ignore(lexer, match, ctx=None): | 72 def op_ignore(lexer, match, ctx=None): |
| 73 """Ignore the match.""" | 73 """Unconditionally ignore the match.""" |
| 74 if False: | 74 if False: |
| 75 yield match.start(), Other, "" | 75 yield match.start(), Other, "" |
| 76 | 76 |
| 77 def op_space(lexer, match, ctx=None): | 77 def op_space(lexer, match, ctx=None): |
| 78 """Unconditionally yield a single whitespace ' '.""" | 78 """Unconditionally yield a single whitespace ' '.""" |
