1. 17 May, 1994 1 commit
  2. 04 May, 1994 1 commit
  3. 30 Apr, 1994 2 commits
  4. 23 Apr, 1994 1 commit
  5. 18 Apr, 1994 2 commits
  6. 12 Apr, 1994 1 commit
  7. 08 Apr, 1994 1 commit
    • Francesco Potortì's avatar
      * etags.c (outf, outfiledir): renamed to tagf, tagfiledir. · 6dd5561c
      Francesco Potortì authored
      	(PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
      	Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
      	Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
      	TeX_functions, Prolog_functions.
      	(inf): no more a global variable.
      	(C_entries): take 2nd parameter `inf' instead of using the global one.
      	(find_entries): added the cp1 var for optimisation.
      	(find_entries): added more suffixes for assembler files.
      	(Asm_funcs): Now finds labels even without an ending colon.
  8. 30 Mar, 1994 1 commit
  9. 25 Mar, 1994 1 commit
  10. 23 Mar, 1994 1 commit
    • Francesco Potortì's avatar
      * etags.c (cwd, outfiledir): vars added. · 46c145db
      Francesco Potortì authored
      	(relative_filename, absolute_filename, absolute_dirname):
      	functions added to compute filenames in tags files.
      	(process_file): filenames in tags file are relative to the
      	directory where the tags file is (useful with the -o option).
      	(main): initialise the outfiledir var.
      	(TYPEDST): added the `tignore' value.
      	(C_entries): corrected various small bugs.
  11. 17 Feb, 1994 1 commit
  12. 14 Feb, 1994 1 commit
  13. 14 Jan, 1994 1 commit
    • Francesco Potortì's avatar
      * etags.c (stab_entry, stab_create, stab_find, stab_search, · 42680d3c
      Francesco Potortì authored
      	stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
      	Use gperf generated hash table instead of linked list.
      	(C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
      	Mostly code generated by gperf.
      	(consider_token): removed unused parameter `lp'.
      	(PF_funcs, getit): allow subroutine and similar declarations
      	to span multiple lines.
      	(C_entries): check for newline if inchar to avoid bus errors.
      	(process_file, find_entries): distinguish among nonexistent
      	and not regular file.
  14. 06 Jan, 1994 1 commit
  15. 16 Nov, 1993 1 commit
  16. 08 Nov, 1993 1 commit
    • Francesco Potortì's avatar
      Mon Nov 8 19:56:20 MET 1993 Tom Hageman (tom@basil.icce.rug.nl) · b12756c8
      Francesco Potortì authored
      	* etags.c: (C_entries): Keep track of ()-parenthesis level so that
      	functions returning a pointer to a function, a la `signal', can be
      	parsed.  This also required new state `fstartlist' to `FUNCST'.
      	(SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
      	(C_entries, CNL): use it to isolate preprocessor directive processing
      	from the other state engines.
      	(begtk): add '~', for C++ class destructors.
  17. 02 Nov, 1993 2 commits
  18. 01 Oct, 1993 1 commit
  19. 20 Sep, 1993 1 commit
  20. 10 Sep, 1993 1 commit
  21. 06 Sep, 1993 1 commit
    • Francesco Potortì's avatar
      * etags.c (L_isdef, L_isquote, L_getit): small optimisations. · 31d4b314
      Francesco Potortì authored
      	(L_funcs): the (foo::defmumble stuff now should work.
      	(consider_token): function returned random value--corrected.
      	(C_entries): corrected == versus = typo.
      	* etags.c (FINCST): added the fignore status. Means we are
      	after the parameter list and before the open curly brace.
      	Allows correct parsing of C++ constructors.
      	(C_entries, consider_token): make use of fignore.
      	(consider_token): reset funcdef when next_token_is_func: when in
      	ctags mode makes DEFVAR and others work better.
      	(L_isquote): function that recognises the "(quote" string.
      	(L_getit): ignore quoting via "'" or "(quote".  Useful for defalias.
  22. 01 Aug, 1993 1 commit
  23. 18 Jul, 1993 1 commit
  24. 09 Jul, 1993 2 commits
    • Jim Blandy's avatar
      * etags.c (alloca): removed all references to it. · 72a339d7
      Jim Blandy authored
      	(main): now calls xnew instead of alloca for portability.
      	(../src/config.h): included only if HAVE_CONFIG_H.
      	(const): void definition removed--config.h takes care of it.
    • Richard M. Stallman's avatar
      (consider_token): was `==', now is `='. · 591fa824
      Richard M. Stallman authored
      (consider_token): DEFUNs now treated like funcs in ctags mode.
      (LEVEL_OK_FOR_FUNCDEF): removed.
      (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
      (C_entries): removed a piece of useless code.
      (C_entries): making typedef tags is delayed until a semicolon
      is met.  This handles "typedef int X, Y, Z;" correctly.
  25. 29 Jun, 1993 1 commit
  26. 19 Jun, 1993 1 commit
  27. 11 Jun, 1993 1 commit
  28. 09 Jun, 1993 1 commit
  29. 08 Jun, 1993 1 commit
  30. 28 May, 1993 1 commit
  31. 25 May, 1993 1 commit
  32. 21 May, 1993 1 commit
  33. 19 May, 1993 1 commit
  34. 13 May, 1993 1 commit
  35. 22 Mar, 1993 1 commit
    • Richard M. Stallman's avatar
      (YACC): flag added to c_ext. · 13fde0cd
      Richard M. Stallman authored
      (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
      (find_entries): consistently use streq when reasonable.
      (find_entries): a .y file is a yacc file.
      (get_C_stab): c_ext becomes c_ext&C_PLPL.
      (C_entries): logical cplpl means c_ext&C_PLPL.
      (C_entries): logical yacc_rules means we are after the first %%.
      (C_entries): added logic for yacc files.
      (C_entries): ':' case moved to the second switch.
      (C_entries): do not examine token if structdef==scolonseen.
      (consider_token): structtag set to null string for enum.
      (GET_COOKIE): and related macros removed.
      (logical): is now int, no more a char.
      (reg): define deleted.
      (isgood, _gd, notgd): deleted.
      (gotone): deleted.
      (TOKEN): member linestart removed.
      (linepos, prev_linepos, lb1): deleted.
      (main): call initbuffer on lbs array instead of lb1.
      (init): removed the initialisation of the logical _gd array;
      (find_entries): a .sa suffix means assembler file.
      (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
      All C state machines rewritten.
      (C_entries): complete rewrite.
      (condider_token): complete rewrite.
      (getline): deleted.
      (C_entries): Added the quotednl logical variable.
      Used for parsing of #define's spanning multiple lines.
      (C_entries): Save the definedef status even when a
      newline is met inside a string.
  36. 03 Mar, 1993 1 commit