diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-05 14:47:45 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-05 14:47:45 +0000 |
commit | 0a9e7a75976e4d5b3510209088afd92a65a90549 (patch) | |
tree | 4f091d82135266e8559c07a1a8351b1139eb970c /include/asterisk/config.h | |
parent | 877e6bc6fede49829b086e398b0730f3062bfe89 (diff) |
this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/config.h')
-rw-r--r-- | include/asterisk/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index 7ab52f195..613867937 100644 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -58,6 +58,7 @@ struct ast_variable { int blanklines; /*!< Number of blanklines following entry */ struct ast_comment *precomments; struct ast_comment *sameline; + struct ast_comment *trailing; /*!< the last object in the list will get assigned any trailing comments when EOF is hit */ struct ast_variable *next; char stuff[0]; }; |