[geany/geany] 06d02e: Indent with tabs
Nick Treleaven
git-noreply at xxxxx
Thu Jul 26 00:04:03 UTC 2012
Branch: refs/heads/document-messages
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Wed, 18 Apr 2012 12:29:40
Commit: 06d02e29db6694ff19ab47f39c7899fc96c9f6ba
https://github.com/geany/geany/commit/06d02e29db6694ff19ab47f39c7899fc96c9f6ba
Log Message:
-----------
Indent with tabs
Modified Paths:
--------------
tagmanager/docbook.c
Modified: tagmanager/docbook.c
54 files changed, 27 insertions(+), 27 deletions(-)
===================================================================
@@ -25,21 +25,21 @@
* DATA DEFINITIONS
*/
typedef enum {
- K_CHAPTER,
- K_SECTION,
- K_SECT1,
- K_SECT2,
- K_SECT3,
- K_APPENDIX
+ K_CHAPTER,
+ K_SECTION,
+ K_SECT1,
+ K_SECT2,
+ K_SECT3,
+ K_APPENDIX
} docbookKind;
static kindOption DocBookKinds [] = {
- { TRUE, 'f', "function", "chapters"},
- { TRUE, 'c', "class", "sections"},
- { TRUE, 'm', "member", "sect1"},
- { TRUE, 'd', "macro", "sect2"},
- { TRUE, 'v', "variable", "sect3"},
- { TRUE, 's', "struct", "appendix"}
+ { TRUE, 'f', "function", "chapters"},
+ { TRUE, 'c', "class", "sections"},
+ { TRUE, 'm', "member", "sect1"},
+ { TRUE, 'd', "macro", "sect2"},
+ { TRUE, 'v', "variable", "sect3"},
+ { TRUE, 's', "struct", "appendix"}
};
/*
@@ -48,14 +48,14 @@
static int getWord(const char *ref, const char **ptr)
{
- const char *p = *ptr;
+ const char *p = *ptr;
- while ((*ref != '\0') && (*p != '\0') && (*ref == *p)) ref++, p++;
+ while ((*ref != '\0') && (*p != '\0') && (*ref == *p)) ref++, p++;
- if (*ref) return FALSE;
+ if (*ref) return FALSE;
- *ptr = p;
- return TRUE;
+ *ptr = p;
+ return TRUE;
}
@@ -83,10 +83,10 @@ static void createTag(docbookKind kind, const char *buf)
static void findDocBookTags(void)
{
- const char *line;
+ const char *line;
- while ((line = (const char*)fileReadLine()) != NULL)
- {
+ while ((line = (const char*)fileReadLine()) != NULL)
+ {
const char *cp = line;
for (; *cp != '\0'; cp++)
@@ -135,17 +135,17 @@ static void findDocBookTags(void)
}
}
}
- }
+ }
}
extern parserDefinition* DocBookParser (void)
{
static const char *const extensions [] = { "sgml", "docbook", NULL };
- parserDefinition* def = parserNew ("Docbook");
- def->extensions = extensions;
- def->kinds = DocBookKinds;
- def->kindCount = KIND_COUNT (DocBookKinds);
- def->parser = findDocBookTags;
- return def;
+ parserDefinition* def = parserNew ("Docbook");
+ def->extensions = extensions;
+ def->kinds = DocBookKinds;
+ def->kindCount = KIND_COUNT (DocBookKinds);
+ def->parser = findDocBookTags;
+ return def;
}
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list