Commits

thatch  committed 5083cae

Bash lexer should treat ; as a command separator to correctly parse code like

{{{
;a=1
}}}

  • Participants
  • Parent commits 02005f3
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/other.py

         'data': [
             (r'"(\\\\|\\[0-7]+|\\.|[^"])*"', String.Double),
             (r"'(\\\\|\\[0-7]+|\\.|[^'])*'", String.Single),
+            (r';', Text),
             (r'\s+', Text),
             (r'[^=\s\n\[\]{}()$"\'`\\]+', Text),
             (r'\d+(?= |\Z)', Number),