Commit 8b34d137 authored by Geoff Simmons's avatar Geoff Simmons Committed by Dridi Boukelmoune

Fix showing STRANDS as STRING in the docs.

parent 4f17aa8c
......@@ -246,14 +246,14 @@ class CType(object):
assert w == ","
def vcl(self):
if self.vt in ("STRING_LIST", "STRAND"):
if self.vt in ("STRING_LIST", "STRANDS"):
return "STRING"
if self.spec is None:
return self.vt
return self.vt + " {" + ", ".join(self.spec) + "}"
def synopsis(self):
if self.vt in ("STRING_LIST", "STRAND"):
if self.vt in ("STRING_LIST", "STRANDS"):
return "STRING"
return self.vt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment