
# HG changeset patch
# User Phil Thompson <phil@riverbankcomputing.com>
# Date 1651507410 -3600
# Node ID 3d656f0765f508ea9714b5e7c9ce00e304e6f600
# Parent  c179f418c5bee188e3ec7a0c0e50f9eab34cf12f
Fixed indented directives.

diff -r c179f418c5be -r 3d656f0765f5 sipbuild/generator/parser/tokens.py
--- a/sipbuild/generator/parser/tokens.py	Mon May 02 16:51:06 2022 +0100
+++ b/sipbuild/generator/parser/tokens.py	Mon May 02 17:03:30 2022 +0100
@@ -174,7 +174,7 @@
 
 # Handle directives.
 def t_DIRECTIVE(t):
-    r'(?m)^\s*%[a-zA-Z][a-zA-Z]*'
+    r'%[a-zA-Z][a-zA-Z]*'
 
     # The name of the directive is used as its type.
     name = t.value[t.value.index('%') + 1:]

