Commits

gbrandl  committed 87a4e6c

[svn] Don't error out in C#'s using (resource).

  • Participants
  • Parent commits ea56da1
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/dotnet.py

             (r'[a-zA-Z_][a-zA-Z0-9_]*', Name.Class, '#pop')
         ],
         'namespace': [
+            (r'(?=\()', Text, '#pop'), # using (resource)
             (r'[a-zA-Z_][a-zA-Z0-9_.]*', Name.Namespace, '#pop')
         ]
     }