Kaydet (Commit) 2b8cfb3f authored tarafından Colomban Wendling's avatar Colomban Wendling

Use `%NULL`, `%FALSE` and `%TRUE` in the GtkDoc output

üst d57ca1da
......@@ -70,11 +70,11 @@ class AtDoc(object):
self.annot.append("%s %s" % (type, str))
elif (type == "see"):
return "See " + str
elif type in ("a", "c") and str in ("NULL", "TRUE", "FALSE"):
# FIXME: some of Geany does @a NULL instead of @c NULL
return "%" + str
elif (type == "a"):
if (str != "NULL"): # FIXME: some of geany does @a NULL
return "@" + str
else:
return str
return "@" + str
else:
return str
......
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