• Colomban Wendling's avatar
    Skip the format specifier when loading a global tag file · 11da5557
    Colomban Wendling yazdı
    This prevents loading a spurious tag for the format specifier line, as
    well as fixing loading of CTags format with a format specifier line.
    
    Before this change, the file pointer was rewound after reading a format
    specifier line; but this had various unwanted side effects depending on
    the recognized format:
    
    * For TagManager and Pipe formats, it led to loading a tag named after
      the format specifier (e.g. a literal "# format=tagmanager").  This
      was fairly harmless and only introduced a spurious tag seldom even
      used because "#" isn't usually considered for looking up completions.
    * For CTags format, having an explicit specifier led to failure to load
      the file in most cases because the specifier line would be parsed but
      doesn't usually follow the format's requirements, leading to early
      abortion loading that file.  On some very specific specifier lines
      actually following CTags format, it could have led to loading a
      spurious tag instead.
    
    Fixes #1814 and closes #1816.
    11da5557
Adı
Son kayıt (commit)
Son güncelleme
ctags Loading commit data...
data Loading commit data...
doc Loading commit data...
icons Loading commit data...
m4 Loading commit data...
plugins Loading commit data...
po Loading commit data...
scintilla Loading commit data...
scripts Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COMMITTERS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-1-22 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.I18N Loading commit data...
README.Packagers Loading commit data...
README.rst Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
geany.desktop.in Loading commit data...
geany.exe.manifest Loading commit data...
geany.gladep Loading commit data...
geany.nsi.in Loading commit data...
geany.pc.in Loading commit data...
geany.spec.in Loading commit data...
geany_private.rc Loading commit data...