aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/literasc.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-03 22:45:51 -0400
committerDavid Robillard <d@drobilla.net>2016-10-03 22:45:51 -0400
commit1c29fa440c3d68608d7d3c99b2c7fb3d83f1f36f (patch)
treeac69459216a0a0e3cf830196b6a5b0fcd2cfd2b8 /plugins/literasc.py
parent49b0b2d4f7d4687cd6bb5e6b52dfbb195b198710 (diff)
downloadlv2-1c29fa440c3d68608d7d3c99b2c7fb3d83f1f36f.tar.xz
Include headers in literate documentation
Diffstat (limited to 'plugins/literasc.py')
-rwxr-xr-xplugins/literasc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/literasc.py b/plugins/literasc.py
index 0491227..f0b8cc4 100755
--- a/plugins/literasc.py
+++ b/plugins/literasc.py
@@ -105,7 +105,7 @@ def gen(out, filenames):
sys.stderr.write('Failed to open file %s\n' % filename)
continue
- if filename.endswith('.c'):
+ if filename.endswith('.c') or filename.endswith('.h'):
out.write(format_c_source(filename, file))
elif filename.endswith('.ttl') or filename.endswith('.ttl.in'):
out.write(format_ttl_source(filename, file))