1. Benji York
  2. pygments-main

Commits

Rob Simmons  committed 946dec0

Fix problem that was causing an error for most structure declarations

  • Participants
  • Parent commits ee1ba99
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/functional.py

View file
  • Ignore whitespace
             include('breakout'),
 
             (r'(%s)' % alphanumid_re, Name.Namespace),
-            (r'\S+', Error, '#pop'),            
+            (r'', Text, '#pop'),            
         ],
 
         # Dealing with what comes after the 'fun' (or 'and' or '|') keyword