Skip to content

Commit

Permalink
Make the use of TMParserType private
Browse files Browse the repository at this point in the history
Or semi-private by removing the docstring.
  • Loading branch information
techee committed Feb 26, 2016
1 parent 833921e commit 86cb9ae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/filetypes.h
Expand Up @@ -134,7 +134,7 @@ GeanyFiletypeGroupID;
typedef struct GeanyFiletype
{
GeanyFiletypeID id; /**< Index in @ref filetypes. */
/** Represents the TMParserType of tagmanager (see the table
/* Represents the TMParserType of tagmanager (see the table
* in tagmanager/src/tm_parser.h). */
TMParserType lang;
/** Untranslated short name, such as "C", "None".
Expand Down
4 changes: 4 additions & 0 deletions tagmanager/src/tm_parser.h
Expand Up @@ -12,6 +12,9 @@

typedef gint TMParserType;


#ifdef GEANY_PRIVATE

/* keep in sync with ctags/parsers.h */
enum
{
Expand Down Expand Up @@ -70,5 +73,6 @@ enum
TM_PARSER_COUNT
};

#endif /* GEANY_PRIVATE */

#endif /* TM_PARSER_H */
2 changes: 1 addition & 1 deletion tagmanager/src/tm_source_file.h
Expand Up @@ -37,7 +37,7 @@ extern "C"
*/
typedef struct
{
TMParserType lang; /**< Programming language used */
TMParserType lang; /* Programming language used */
char *file_name; /**< Full file name (inc. path) */
char *short_name; /**< Just the name of the file (without the path) */
GPtrArray *tags_array; /**< Sorted tag array obtained by parsing the object */
Expand Down
2 changes: 1 addition & 1 deletion tagmanager/src/tm_tag.h
Expand Up @@ -137,7 +137,7 @@ typedef struct _TMTag
char *var_type; /**< Variable type (maps to struct for typedefs) */
char access; /**< Access type (public/protected/private/etc.) */
char impl; /**< Implementation (e.g. virtual) */
TMParserType lang; /**< Programming language of the file */
TMParserType lang; /* Programming language of the file */
} TMTag;


Expand Down

0 comments on commit 86cb9ae

Please sign in to comment.