ctags
ctags copied to clipboard
A maintained ctags implementation
The code in debug.c uses stdout. The buffering of stdout makes the debug output impossible to be compared. _Originally posted by @masatake in https://github.com/universal-ctags/ctags/issues/3798#issuecomment-1683005724_
The command line you used to run ctags: ``` $ ctags -R -f tags ``` The content of input file: ```C typedef enum { CMD_ID_0, CMD_ID_1, #ifdef ENABLE_A CMD_ID_A2, #else...
See https://github.com/bootlin/elixir/issues/221 . input.mak: ```Makefile CPPFLAGS = -DOUTPUT=stdout foo.o: foo.c $(CC) $(CPPFLAGS) $< ``` Output: ``` $ ./ctags --extras-Make='+{CppDef}' --fields=+lE -o - input.mak CPPFLAGS input.mak /^CPPFLAGS = -DOUTPUT=stdout$/;" m language:Make...
* extract macros assigned with != operator * skip override directive
Pegof is a PEG grammar optimizer and formatter developed at https://github.com/dolik-rce/pegof. This change is for utilizing pegof for optimizing our peg based parsers. We assume pegof is installed at ${somewhere}/pegof....
I have been developing [pegof](https://github.com/dolik-rce/pegof) as a hobby project for past few years. Recently it became good enough to optimize Kotlin grammar, making it 3 times faster and about 2.7...
~~This is a work in progress.~~ Okay I think this is in good shape now, seems to work well in my usage and passes unit tests.
The name of the parser: C The command line you used to run ctags: ``` $ ctags --options=NONE -D 'SYSCALL_DEFINE3(name,...)=long name(__VA_ARGS__)' open.c ``` open.c is extracted from linux kernel https://elixir.bootlin.com/linux/latest/source/fs/open.c#L714...
Description: https://nixos.org/nix/manual/#ch-expression-language There is some very basic config in https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/ctags/wrapped.nix: ``` --langdef=NIX --langmap=NIX:.nix --regex-NIX=/([^ \t*]*)[ \t]*=/\1/f/ ``` I have (hopefully) improved this a bit locally: ``` --regex-NIX=/([^ \t*]*)[ \t]*=.*:/\1/f/ ```...
An error occurred when I used the following command to build, and the desired answer was not found on the Internet. Chatgpt told me to run as an administrator, I...