X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fscripts%2Fglspec.py;h=f21b08d5bf82f6670ecea07a44a77d537cfc4f24;hb=43086c12f1f6d8180940f866b65320d662fa02cd;hp=2c3c2865329dba6cda1245688af29470a016297a;hpb=eb15f918b2c8610e064fba8ebbf4b8eef2a7e26e;p=apitrace diff --git a/specs/scripts/glspec.py b/specs/scripts/glspec.py index 2c3c286..f21b08d 100755 --- a/specs/scripts/glspec.py +++ b/specs/scripts/glspec.py @@ -235,7 +235,7 @@ class SpecParser(LineParser): try: int(length) except ValueError: - length = "%s" % length + length = '"%s"' % length arg_type = '%s(%s, %s)' % (constructor, base_type, length) else: if length == "COMPSIZE(pname)":