From 44d98266c5bf371d9269ced4c3ec948c22d922bb Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 6 Oct 2013 09:00:32 -0400 Subject: Document some conventions. --- devtools/tablegen.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'devtools') diff --git a/devtools/tablegen.py b/devtools/tablegen.py index 61119e70..baf9bcb3 100755 --- a/devtools/tablegen.py +++ b/devtools/tablegen.py @@ -49,6 +49,14 @@ # of fields in the table. This may be useful for dealing with groups of # messages that have a common head section. # +# This code interprets magic comments in the input +# +# //: Type +# The token following "Type" is the name of the table +# //: xxxx vocabulary +# A subtable describing a controlled vocabulary for field xxxx in the +# preceding table. +# # TO-DO: generate code for ais.py. import sys, getopt -- cgit v1.2.1