Commits

Jason McKesson  committed 8eb4d42

Prelude to adding file headings.

  • Participants
  • Parent commits 2ee379a

Comments (0)

Files changed (2)

File modules/CommonStyle.lua

 local my_struct =
 {
 	{ type="file", style="header", name="GetFilename",
+		{ type="write", name="FilePreamble", optional=true} ,
 		{ type="block", name="IncludeGuard(hFile, spec, options)",
 			{ type="blank"},
 			{ type="write", name="Init(hFile, spec, options)", },
 		},
 	},
 	{ type="file", style="source", name="GetFilename",
+		{ type="write", name="FilePreamble", optional=true} ,
 		{ type="write", name="Includes(hFile, basename, spec, options)",},
 		{ type="blank"},
 		{ type="write", name="LoaderData(hFile, spec, options)",},

File modules/StructNoloadCpp.lua

 local my_struct =
 {
 	{ type="file", style="hdr", name="GetFilename(basename, spec, options)",
+		{ type="write", name="FilePreamble", optional=true} ,
 		{ type="block", name="IncludeGuard",
 			{ type="blank"},
 			{ type="write", name="Guards(hFile, spec, options)",},