sorry for the typo: Failed Compile on current Linux with current GnuCompiler
Fieled Compile on current Linux with current GnuCompiler
Compiler failure on gcc 12 due to redefinition of __unused__
I have the same failure with ctags-5.8 on macOS10.15/Xcode 12.1 (12A7403). The build failure is coming from the macro being used to prevent/suppress warnings. The build completed after changing the macro. Patch attached..
I have the same failure with ctags-5.8 on macOS10.15/Xcode 12.1 (12A7403). The build failure is coming from the macro being used to prevent/suppress warnings. The build completed after changing the macro. Patch attached.
patch attached
patch attached
I have the same failure with ctags-5.8 on macOS10.15/Xcode 12.1 (12A7403). The build failure is coming from the macro being used to prevent/suppress warnings.
~~~ I have the same failure with ctags-5.8 on macOS10.15/Xcode 12.1 (12A7403). The build failure is coming from the macro being used to prevent/suppress warnings. With the following code change in ctags I fixed the issue, for now... diff --git a/general.h b/general.h index 2d1d629..34034ad 100644 --- a/general.h +++ b/general.h @@ -56,11 +56,10 @@ / This is a helpful internal feature of later versions (> 2.7) of GCC * to prevent warnings about unused variables. / +# define unused #if (GNUC > 2 ||...
Running 'make' on OSX Catalina throws errro
Technical trick with CONST_OPTION macro produces faulty code
Universal-ctags (https://ctags.io) has a bibtex parser written from scratch.
I didn't merge this but I introduced code to support beamer in very different way in universal-ctags. https://github.com/universal-ctags/ctags/pull/2424
I didn't merge this but I introduced code to support beamer in very different way. https://github.com/universal-ctags/ctags/pull/2424
Could you make an issue for this topic at https://github.com/universal-ctags/ctags/issues ?
Yes, I was wondering how to implement the PATCH or other ways to achieve a good performance with beamer class for latex. Regards
Jordi, do you need the support for beamer style?
Hello, this is coming 9 years later but you might still be able to anser. I was wondering how to use this with universal-ctags if possible. Thanks
Thanks very much for the help and explanation!
Great, thanks. I shall look at ctags.io. FYI, I'm using ctags to build a list of available functions in a GUI and need the return type. Also the same information is used to automatically populate a header file with function prototypes, and without the return type it breaks the code.
Why should -I be needed for 'override'? Because there is no other way to make ctags emit enough good tags file you want. See https://sourceforge.net/p/ctags/code/HEAD/tree/ It seems that the develoment of ctags at sourceforge is stopped. C++-11 is too new language for ctags developed at sourceforge. However, -I option allows you to overcome the origial issue.
/^int foo() {$/ ctags should not give this. A tool reading tags file like vim recognizes the substring between / and / as a regular expression pattern. ^ int foo() {$ doesn't match any substring in the original input. I'm not sure that the tool can handle ^ int\nfoo() {$. However, I guess it cannot. At least the new pattern including \n may break compatiblities. foo t.cpp /^foo() {$/;" kind:f line:2 signature:() return:int The tool can handle this one well. Unofficial fork maintained at https://ctags.io...
C++ Return type on separate line is discarded
As per the man page, the -I option is specifically provided for preprocessor macros, and in general for identifiers that are to be specially handled. 'override' is a standard C++ keyword/identifier (since C++-11). Why should -I be needed for 'override'?
Use '-I override' option. See ctags(1) man page about -I. [yamato@slave]/tmp/mozilla_yamato0% ctags -I override -o - ./parser.cpp ctags -I override -o - ./parser.cpp CustomOpAsmParser ./parser.cpp /^ CustomOpAsmParser(SMLoc nameLoc, StringRef opName, OperationParser &parser)$/;" f class:CustomOpAsmParser CustomOpAsmParser ./parser.cpp /^class CustomOpAsmParser : public OpAsmParser {$/;" c file: emittedError ./parser.cpp /^ bool emittedError = false;$/;" m class:CustomOpAsmParser file: getNameLoc...
You are welcome. I'm not a member of project, so I cannot close this.
Thanks very much! Uday On Sun, Nov 10, 2019 at 5:59 PM Masatake YAMATO m_yamato@users.sourceforge.net wrote: --langmap option may help you. See ctags(1) man page. $ ctags --langmap=C++:.inc -o - Ops.h.inc | head AddFOp Ops.h.inc /^class AddFOp : public Op<addfop, optrait::sameoperandsandresulttype,="" optrait::oneresult,="" optrait::hasnosideeffect,="" optrait::noperands<2="">::Impl> {$/;" cAddFOpOperandAdaptor Ops.h.inc /^class AddFOpOperandAdaptor {$/;" c AddIOp Ops.h.inc /^class AddIOp : public...
No tags found for C++ virtual function overrides
Thanks very much! - please close this.
--langmap option may help you. See ctags(1) man page. $ ctags --langmap=C++:.inc -o - Ops.h.inc | head AddFOp Ops.h.inc /^class AddFOp : public Op<AddFOp, OpTrait::OneResult, OpTrait::HasNoSideEffect, OpTrait::SameOperandsAndResultType, OpTrait::NOperands<2>::Impl> {$/;" c AddFOpOperandAdaptor Ops.h.inc /^class AddFOpOperandAdaptor {$/;" c AddIOp Ops.h.inc /^class AddIOp : public Op<AddIOp, OpTrait::OneResult, OpTrait::IsCommutative, OpTrait::HasNoSideEffect, OpTrait::SameOperandsAndResultType, OpTrait::NOperands<2>::Impl>...
ctags can't find any tags in this C++ file
Universal-ctags (https://ctags.io), unofficial project forked from here can tag it well. $ cat /tmp/foo.cc using SomeType = uint8_t; $ u-ctags -o - /tmp/foo.cc SomeType /tmp/foo.cc /^using SomeType = uint8_t;$/;" t typeref:typename:uint8_t file:
ctags ignores C++ typedefs that use "using"
The same needs to be done for the c11 keyword _Static_assert https://en.cppreference.com/w/c/keyword/_Static_assert
-IKSORT_INIT option may help you.
Doesn't detect C subroutine name
Universal-ctags (https://ctags.io) handles it well as following: [yamato@master]/tmp% cat foo.cpp struct Foo { bool x{false}; bool y = false; }; [yamato@master]/tmp% u-ctags -o - foo.cpp Foo foo.cpp /^struct Foo {$/;" s file: x foo.cpp /^ bool x{false};$/;" m struct:Foo typeref:typename:bool file: y foo.cpp /^ bool y = false;$/;" m struct:Foo typeref:typename:bool file:
Missing tags for C++ data member with brace initialization
<spam deleted="">
Patch: Enable Wildcards on Windows too.
<spam deleted="">
Universal-ctags still doesn't have any stable releases yet, regrettably.
Universal-ctags(https://ctags.io) forked from Exuberant-ctags works well. [yamato@master]/tmp% cat /tmp/foo.py cat /tmp/foo.py from datetime import datetime class A: when = datetime( year=2017, month=9, day=10, ) a = float( x=99, ) [yamato@master]/tmp% u-ctags -o - /tmp/foo.py u-ctags -o - /tmp/foo.py A /tmp/foo.py /^class A:$/;" c a /tmp/foo.py /^a = float($/;" v when /tmp/foo.py /^ when = datetime($/;" v class:A
Keyword arguments are interpreted as variables (python)
<spam deleted="">
I implemented what you wanted: https://github.com/universal-ctags/ctags/pull/122...
Second attachment, for reference.
C++ operator=() definition aborts source file parsing in foo.C
Universal-ctags(http://ctags.io), a project forked from exuberant-ctags captures...
Hi thank you for getting back to me. Unfortunately this is not the behavior I am...
The tttcn-3 parser is merged to universal0-ctags, a project forked from exuberant-ctags....
Universal-ctags(http://ctags.io), a project forked from Exuberant-ctags has ability...
In a project, universal-ctags(http://ctags.io), fored from exuberant ctags has a...
I would like to merge this change to universal-ctags(http://ctags.io). Is it o.k...
This patch is now part of universal ctags.
I don't understand what you mean. Following output is not enough for you? [ctags-github]$...
Does not support JavaScript ES6+
I'm a developer of universal ctags, a fork of exuberant ctags. (See http://ctags.io)....
[yamato@x201]/tmp% u-ctags --version | head -1 Universal Ctags 0.0.0(f4ff979), Copyright...
Newly written C++ paresr in universal-ctags can capture MY_Var. [yamato@x201]/tmp%...
Hello, How did you resolve the issue? Thank you.
Can't fine .Catgs file in $HOME
Newly introduced C++ parser in Universal-ctags can generate better result: syscon...
C declarations, qualified pointer to compound type, left hand declarations, wrong typeref generated
<spam deleted="">
<spam deleted="">
<spam deleted="">
https://github.com/igrr/ctags/commit/ef67b47e61a1a5f6258e7034ddb520a57b0a477e
ctags parsing fails on static_assert C++11 keyword
You many talk about universal-ctags. It is forked from exuberant-ctags; different...
ok, great! Well then I recommend closing / archiving this project in favour of github....
It was discussed once: https://sourceforge.net/p/ctags/mailman/message/33493272/
https://sourceforge.net/p/ctags/mailman/message/33493272/
move to github?
multi-threaded?
windows 64 bit builds?
<spam deleted="">
<spam deleted="">
<spam deleted="">
I don't understand what you mean. ctags crashed? or ctags generated unexpected t...
ocaml.c have bug when process the file "gmacs.ml"
ocaml.c have bug when process the file "gmacs.ml" 1805 st.name = vStringNew (); 1806...
<spam deleted="">
I see. I can offset only following two choices. 1. Throwing away undef: universal-ctags...
<spam deleted="">
It is like this: [yamato@x201]/tmp/ctags% cat bar.c cat bar.c undef UNDEF1 define...
I'm not sure your expectation. Could you show the real input file? [yamato@x201]/tmp/ctags%...
In the output tagfile, the symbol "#undef" and "#define" is the same. I think it should not be the same.
<spam deleted="">
<spam deleted="">
Hi, I'm a co-developer of universa-ctags project, a project forkd from exuberant...
Support for tcl/expect language
<spam deleted="">
<spam deleted="">
Did you try universal ctags, a forked project? git is used in the project.
Maybe ctags was crashed behind OpenGrok.
Did you try universal-ctags, a forked project?
+ means 'append'. If no + given, ctags overwrite the built-in suffix list for SQL...
Maybe fixed for all the attachements.