aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/literasc.py
diff options
context:
space:
mode:
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))