summaryrefslogtreecommitdiff
path: root/volk/gen/volk_tmpl_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'volk/gen/volk_tmpl_utils.py')
-rw-r--r--volk/gen/volk_tmpl_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/volk/gen/volk_tmpl_utils.py b/volk/gen/volk_tmpl_utils.py
index 9d7a0d0e5..c215e389e 100644
--- a/volk/gen/volk_tmpl_utils.py
+++ b/volk/gen/volk_tmpl_utils.py
@@ -34,7 +34,7 @@ def __escape_pre_processor(code):
m = re.match('^(\s*)#(\s*)(\w+)(.*)$', line)
if m:
p0, p1, fcn, stuff = m.groups()
- conly = fcn in ('include', 'define', 'ifdef', 'ifndef', 'endif', 'elif')
+ conly = fcn in ('include', 'define', 'ifdef', 'ifndef', 'endif', 'elif', 'pragma')
both = fcn in ('if', 'else')
istmpl = '$' in stuff
if 'defined' in stuff: istmpl = False