summaryrefslogtreecommitdiff
path: root/jsongen.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-09 22:10:57 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-09 22:10:57 +0000
commit48db3e2e6a7fb12f6133725600ed5dc7ae36fdc8 (patch)
tree960c444e3b85960484bcf8d5592d7d2a152bb115 /jsongen.py
parentf8568d0193cd3d5e730b986e79d49fcda7c2367a (diff)
downloadgpsd-48db3e2e6a7fb12f6133725600ed5dc7ae36fdc8.tar.gz
More splint cleanup. All regression tests pass.
Diffstat (limited to 'jsongen.py')
-rwxr-xr-xjsongen.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/jsongen.py b/jsongen.py
index 0f26500c..f1a06652 100755
--- a/jsongen.py
+++ b/jsongen.py
@@ -462,8 +462,15 @@ if __name__ == '__main__':
print """/*
* This is code generated by jsongen.py. Do not hand-hack it!
*/
+
+/*@ -fullinitblock */
+
"""
outboard = []
for description in spec:
generate(description)
- print "/* Generated code ends. */"
+ print """
+/*@ +fullinitblock */
+
+/* Generated code ends. */
+"""