[geany/geany] dac3af: read: use makeFileTag()
Jiří Techet
git-noreply at xxxxx
Mon Dec 17 21:05:47 UTC 2018
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Mon, 10 Oct 2016 22:24:33 UTC
Commit: dac3afbbfa2fa193c238bed3409f5c9bf5efee03
https://github.com/geany/geany/commit/dac3afbbfa2fa193c238bed3409f5c9bf5efee03
Log Message:
-----------
read: use makeFileTag()
Modified Paths:
--------------
ctags/main/read.c
Modified: ctags/main/read.c
11 lines changed, 1 insertions(+), 10 deletions(-)
===================================================================
@@ -389,16 +389,7 @@ static bool parseLineDirective (char *s)
if (vStringLength (fileName) > 0 &&
lNum == 1)
- {
- tagEntryInfo tag;
- initTagEntry (&tag, baseFilename (vStringValue (fileName)), getInputLanguageFileKind ());
-
- tag.isFileEntry = true;
- tag.lineNumberEntry = true;
- tag.lineNumber = 1;
-
- makeTagEntry (&tag);
- }
+ makeFileTag (vStringValue (fileName));
vStringDelete (fileName);
result = true;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list