diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 66 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 4 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 | ||||
| -rw-r--r-- | lib-src/etags.c | 18 | ||||
| -rw-r--r-- | lib-src/update-game-score.c | 2 |
5 files changed, 48 insertions, 44 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a8f9a0ac4be..983754eb1c3 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-11-14 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * Makefile.in (all): Make sure "all" is the first target. | ||
| 4 | |||
| 1 | 2011-10-27 Juanma Barranquero <lekktu@gmail.com> | 5 | 2011-10-27 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * emacsclient.c (w32_getenv): Silence compiler warnings. | 7 | * emacsclient.c (w32_getenv): Silence compiler warnings. |
| @@ -2028,7 +2032,7 @@ | |||
| 2028 | * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined. | 2032 | * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined. |
| 2029 | [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined. | 2033 | [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined. |
| 2030 | (Objc_suffixes): Suggest using --lang=c for full help. | 2034 | (Objc_suffixes): Suggest using --lang=c for full help. |
| 2031 | (C_entries): Initialise savetoken to 0 to shut up the compiler. | 2035 | (C_entries): Initialize savetoken to 0 to shut up the compiler. |
| 2032 | 2036 | ||
| 2033 | 2006-07-20 Andreas Schwab <schwab@suse.de> | 2037 | 2006-07-20 Andreas Schwab <schwab@suse.de> |
| 2034 | 2038 | ||
| @@ -2734,7 +2738,7 @@ | |||
| 2734 | (add_regex, regex_tag_multiline, readline): Use it. | 2738 | (add_regex, regex_tag_multiline, readline): Use it. |
| 2735 | (main): Free some global structures. | 2739 | (main): Free some global structures. |
| 2736 | (fdesc): New member `written'. | 2740 | (fdesc): New member `written'. |
| 2737 | (readline, process_file): Initialise it. | 2741 | (readline, process_file): Initialize it. |
| 2738 | (put_entries): Set it. | 2742 | (put_entries): Set it. |
| 2739 | (main): Use it to create entries for files without tags. | 2743 | (main): Use it to create entries for files without tags. |
| 2740 | (total_size_of_entries): Do not count invalid tags. | 2744 | (total_size_of_entries): Do not count invalid tags. |
| @@ -2845,7 +2849,7 @@ | |||
| 2845 | (find_entries): Rewind unconditionally. | 2849 | (find_entries): Rewind unconditionally. |
| 2846 | (find_entries): Do not call language functions directly, now calls | 2850 | (find_entries): Do not call language functions directly, now calls |
| 2847 | itself. | 2851 | itself. |
| 2848 | (find_entries): Do general initialisations here. | 2852 | (find_entries): Do general initializations here. |
| 2849 | (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit) | 2853 | (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit) |
| 2850 | (Ada_getit, Pascal_functions, Pascal_functions) | 2854 | (Ada_getit, Pascal_functions, Pascal_functions) |
| 2851 | (prolog_skip_comment): Do not do them here. | 2855 | (prolog_skip_comment): Do not do them here. |
| @@ -3081,7 +3085,7 @@ | |||
| 3081 | (TeX_commands): Name tags. Correction of old disabled code. | 3085 | (TeX_commands): Name tags. Correction of old disabled code. |
| 3082 | 3086 | ||
| 3083 | * etags.c (curfiledir, curtagfname): New global variables. | 3087 | * etags.c (curfiledir, curtagfname): New global variables. |
| 3084 | (process_file): Initialise them. | 3088 | (process_file): Initialize them. |
| 3085 | (readline): Canonicalize the name found in #line directive. | 3089 | (readline): Canonicalize the name found in #line directive. |
| 3086 | 3090 | ||
| 3087 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | 3091 | 2002-03-06 Jason Rumney <jasonr@gnu.org> |
| @@ -3171,7 +3175,7 @@ | |||
| 3171 | (L_getit): Simplify by using get_tag. | 3175 | (L_getit): Simplify by using get_tag. |
| 3172 | (Perl_functions, Postscript_functions, erlang_attribute): Use the | 3176 | (Perl_functions, Postscript_functions, erlang_attribute): Use the |
| 3173 | modified LOOKING_AT. | 3177 | modified LOOKING_AT. |
| 3174 | (notinname): Remove '[' and added ')' to the recognised chars. | 3178 | (notinname): Remove '[' and added ')' to the recognized chars. |
| 3175 | (LOOKING_AT, get_tag, PHP_functions): Use notinname. | 3179 | (LOOKING_AT, get_tag, PHP_functions): Use notinname. |
| 3176 | (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): | 3180 | (Ada_getit, Ada_funcs, Python_functions, Scheme_functions): |
| 3177 | Clarified, using strneq or notinname. | 3181 | Clarified, using strneq or notinname. |
| @@ -3238,7 +3242,7 @@ | |||
| 3238 | (Scheme_functions, Texinfo_nodes): Use it. | 3242 | (Scheme_functions, Texinfo_nodes): Use it. |
| 3239 | (Perl_functions): Use strneq. | 3243 | (Perl_functions): Use strneq. |
| 3240 | (prolog_pred): Rename to prolog_pr. | 3244 | (prolog_pred): Rename to prolog_pr. |
| 3241 | (prolog_pr): Recognise Prolog rules in addition to predicates. | 3245 | (prolog_pr): Recognize Prolog rules in addition to predicates. |
| 3242 | [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent | 3246 | [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent |
| 3243 | unmodified compile, as Cygwin's regex.h is incompatible with us. | 3247 | unmodified compile, as Cygwin's regex.h is incompatible with us. |
| 3244 | [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string. | 3248 | [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string. |
| @@ -3512,7 +3516,7 @@ | |||
| 3512 | * etags.c (enum sym_type): New label st_C_template. | 3516 | * etags.c (enum sym_type): New label st_C_template. |
| 3513 | (gperf input): Use it for switching to C++ from C. | 3517 | (gperf input): Use it for switching to C++ from C. |
| 3514 | (consider_token): Do it. | 3518 | (consider_token): Do it. |
| 3515 | (C_entries): Initialise typdefcblev to quiet compilers. | 3519 | (C_entries): Initialize typdefcblev to quiet compilers. |
| 3516 | [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing. | 3520 | [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing. |
| 3517 | 3521 | ||
| 3518 | 2001-02-22 Andrew Innes <andrewi@gnu.org> | 3522 | 2001-02-22 Andrew Innes <andrewi@gnu.org> |
| @@ -3638,7 +3642,7 @@ | |||
| 3638 | (lang_names): Add a NULL member for every entry, added an entry | 3642 | (lang_names): Add a NULL member for every entry, added an entry |
| 3639 | for makefiles. | 3643 | for makefiles. |
| 3640 | (Makefile_targets): New function. | 3644 | (Makefile_targets): New function. |
| 3641 | (Texinfo_nodes): Rename from Texinfo_fuctions and made | 3645 | (Texinfo_nodes): Rename from Texinfo_functions and made |
| 3642 | it conformant to the style of the rest of the code. | 3646 | it conformant to the style of the rest of the code. |
| 3643 | 3647 | ||
| 3644 | 2001-01-13 Gerd Moellmann <gerd@gnu.org> | 3648 | 2001-01-13 Gerd Moellmann <gerd@gnu.org> |
| @@ -3963,7 +3967,7 @@ | |||
| 3963 | 3967 | ||
| 3964 | * etags.c (C_entries, consider_token): C++ `operator' now is | 3968 | * etags.c (C_entries, consider_token): C++ `operator' now is |
| 3965 | tagged in most cases. | 3969 | tagged in most cases. |
| 3966 | As before, :: is not recognised if surrounded by spaces. | 3970 | As before, :: is not recognized if surrounded by spaces. |
| 3967 | 3971 | ||
| 3968 | * etags.c (relative_filename): Account for DOS file names such | 3972 | * etags.c (relative_filename): Account for DOS file names such |
| 3969 | that is impossible to make one relative to another. | 3973 | that is impossible to make one relative to another. |
| @@ -4572,7 +4576,7 @@ | |||
| 4572 | * etags.c (C_entries): Use "." instead of "::" for Java. | 4576 | * etags.c (C_entries): Use "." instead of "::" for Java. |
| 4573 | (consider_token): is_func renamed to is_func_or_var. | 4577 | (consider_token): is_func renamed to is_func_or_var. |
| 4574 | (C_entries): is_func renamed to funorvar. | 4578 | (C_entries): is_func renamed to funorvar. |
| 4575 | (C_entries): Initialise tok.named. | 4579 | (C_entries): Initialize tok.named. |
| 4576 | (sym_type, C_stab_entry, consider_token): st_C_ignore is used to | 4580 | (sym_type, C_stab_entry, consider_token): st_C_ignore is used to |
| 4577 | get rid of "import", "package" and "friend". | 4581 | get rid of "import", "package" and "friend". |
| 4578 | (fvdef): Rename from funcdef. Also some constants renamed. | 4582 | (fvdef): Rename from funcdef. Also some constants renamed. |
| @@ -4626,13 +4630,13 @@ | |||
| 4626 | (lang_names): Add Java. | 4630 | (lang_names): Add Java. |
| 4627 | (sym_type): Add st_C_javastruct for Java. | 4631 | (sym_type): Add st_C_javastruct for Java. |
| 4628 | (C_stab_entry): Add `extends' and `implements' keywords. | 4632 | (C_stab_entry): Add `extends' and `implements' keywords. |
| 4629 | (consider_token, C_entries): Recognise Java structures. | 4633 | (consider_token, C_entries): Recognize Java structures. |
| 4630 | 4634 | ||
| 4631 | 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it> | 4635 | 1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
| 4632 | 4636 | ||
| 4633 | * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax. | 4637 | * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax. |
| 4634 | (Postscript_suffixes): .ps is Postscript. | 4638 | (Postscript_suffixes): .ps is PostScript. |
| 4635 | (lang_names): Add Postscript. | 4639 | (lang_names): Add postscript. |
| 4636 | (Postscript_functions): New function. | 4640 | (Postscript_functions): New function. |
| 4637 | (TEX_decode_env): Close minor memory leak. | 4641 | (TEX_decode_env): Close minor memory leak. |
| 4638 | (just_read_file): Correct the char number of the tag. | 4642 | (just_read_file): Correct the char number of the tag. |
| @@ -4674,7 +4678,7 @@ | |||
| 4674 | 4678 | ||
| 4675 | * etags.c (xnew): Add support for debugging with chkmalloc. | 4679 | * etags.c (xnew): Add support for debugging with chkmalloc. |
| 4676 | (error): Use this instead of printf whenever possible. | 4680 | (error): Use this instead of printf whenever possible. |
| 4677 | (main): Only call xnew after having initialised progname. | 4681 | (main): Only call xnew after having initialized progname. |
| 4678 | (substitute): Bad memory corruption error corrected. | 4682 | (substitute): Bad memory corruption error corrected. |
| 4679 | 4683 | ||
| 4680 | 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it> | 4684 | 1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it> |
| @@ -5130,7 +5134,7 @@ | |||
| 5130 | 5134 | ||
| 5131 | 1996-03-15 Anders Lindgren <andersl@csd.uu.se> | 5135 | 1996-03-15 Anders Lindgren <andersl@csd.uu.se> |
| 5132 | 5136 | ||
| 5133 | * etags.c: Prolog language totaly rewritten. | 5137 | * etags.c: Prolog language totally rewritten. |
| 5134 | (Prolog_functions): Rewritten from scratch. | 5138 | (Prolog_functions): Rewritten from scratch. |
| 5135 | (skip_comment, prolog_getit): Removed. | 5139 | (skip_comment, prolog_getit): Removed. |
| 5136 | (prolog_skip_comment): New function, like old skip_comment. | 5140 | (prolog_skip_comment): New function, like old skip_comment. |
| @@ -5592,8 +5596,8 @@ | |||
| 5592 | 5596 | ||
| 5593 | 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it) | 5597 | 1995-02-22 Francesco Potortì (pot@cnuce.cnr.it) |
| 5594 | 5598 | ||
| 5595 | * etags.c (C_entries): token_saved removed. Initialise tok.valid and | 5599 | * etags.c (C_entries): token_saved removed. Initialize tok.valid and |
| 5596 | savetok.valid. Mark token as valid when it is initialised. | 5600 | savetok.valid. Mark token as valid when it is initialized. |
| 5597 | (make_tag): Make token only if token is valid and reset validity. | 5601 | (make_tag): Make token only if token is valid and reset validity. |
| 5598 | (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. | 5602 | (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved. |
| 5599 | (TOKEN): Add a new member: valid. | 5603 | (TOKEN): Add a new member: valid. |
| @@ -5605,15 +5609,15 @@ | |||
| 5605 | 5609 | ||
| 5606 | 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it) | 5610 | 1995-02-14 Francesco Potortì (pot@cnuce.cnr.it) |
| 5607 | 5611 | ||
| 5608 | * etags.c (C_entries): Initialise the new members of TOKEN. | 5612 | * etags.c (C_entries): Initialize the new members of TOKEN. |
| 5609 | (C_entries): Do not allocate a new space for each token found by | 5613 | (C_entries): Do not allocate a new space for each token found by |
| 5610 | consider_token. Let make_tag do that instead. | 5614 | consider_token. Let make_tag do that instead. |
| 5611 | (make_tag): Since now TOKEN has memory of where it is taken from, | 5615 | (make_tag): Since now TOKEN has memory of where it is taken from, |
| 5612 | this new macro substitutes both make_tag_from_new_lb and | 5616 | this new macro substitutes both make_tag_from_new_lb and |
| 5613 | make_tag_from_oth_lb. All callers changed. | 5617 | make_tag_from_oth_lb. All callers changed. |
| 5614 | (TOKEN): Add linepos and buffer members. | 5618 | (TOKEN): Add linepos and buffer members. |
| 5615 | (main): Initialise token_str. | 5619 | (main): Initialize token_str. |
| 5616 | (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes. | 5620 | (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes. |
| 5617 | (token_str): New global variable used by C_entries. | 5621 | (token_str): New global variable used by C_entries. |
| 5618 | 5622 | ||
| 5619 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> | 5623 | 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> |
| @@ -5622,7 +5626,7 @@ | |||
| 5622 | 5626 | ||
| 5623 | 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it) | 5627 | 1995-02-01 Francesco Potortì (pot@cnuce.cnr.it) |
| 5624 | 5628 | ||
| 5625 | * etags.c (pfnote): Initialise been_warned in the node. | 5629 | * etags.c (pfnote): Initialize been_warned in the node. |
| 5626 | (C_entries): Remove a speed hack for the sake of clarity. | 5630 | (C_entries): Remove a speed hack for the sake of clarity. |
| 5627 | 5631 | ||
| 5628 | 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it) | 5632 | 1995-01-18 Francesco Potortì (pot@cnuce.cnr.it) |
| @@ -5907,8 +5911,8 @@ | |||
| 5907 | 5911 | ||
| 5908 | 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it) | 5912 | 1994-09-29 Francesco Potortì (pot@cnuce.cnr.it) |
| 5909 | 5913 | ||
| 5910 | * etags.c (C_entries): Recognise typedef of ANSI style functions. | 5914 | * etags.c (C_entries): Recognize typedef of ANSI style functions. |
| 5911 | (C_entries): Recognise #define inside a struct. | 5915 | (C_entries): Recognize #define inside a struct. |
| 5912 | (C_entries): ANSI tells that preprocessor commands do not have to | 5916 | (C_entries): ANSI tells that preprocessor commands do not have to |
| 5913 | start on the first column. | 5917 | start on the first column. |
| 5914 | (print_help): Documentation corrected for -d and -D. | 5918 | (print_help): Documentation corrected for -d and -D. |
| @@ -6022,7 +6026,7 @@ | |||
| 6022 | 6026 | ||
| 6023 | 1994-07-08 Dave Love (d.love@dl.ac.uk) | 6027 | 1994-07-08 Dave Love (d.love@dl.ac.uk) |
| 6024 | 6028 | ||
| 6025 | * etags.c (takeprec): Recognise `character*(*) function'. | 6029 | * etags.c (takeprec): Recognize `character*(*) function'. |
| 6026 | 6030 | ||
| 6027 | 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it) | 6031 | 1994-07-08 Francesco Potortì (pot@cnuce.cnr.it) |
| 6028 | 6032 | ||
| @@ -6215,7 +6219,7 @@ | |||
| 6215 | TeX_functions, Prolog_functions. | 6219 | TeX_functions, Prolog_functions. |
| 6216 | (inf): No more a global variable. | 6220 | (inf): No more a global variable. |
| 6217 | (C_entries): Take 2nd parameter `inf' instead of using the global one. | 6221 | (C_entries): Take 2nd parameter `inf' instead of using the global one. |
| 6218 | (find_entries): Add the cp1 var for optimisation. | 6222 | (find_entries): Add the cp1 var for optimization. |
| 6219 | (find_entries): Add more suffixes for assembler files. | 6223 | (find_entries): Add more suffixes for assembler files. |
| 6220 | (Asm_funcs): Now finds labels even without an ending colon. | 6224 | (Asm_funcs): Now finds labels even without an ending colon. |
| 6221 | 6225 | ||
| @@ -6243,7 +6247,7 @@ | |||
| 6243 | functions added to compute filenames in tags files. | 6247 | functions added to compute filenames in tags files. |
| 6244 | (process_file): Filenames in tags file are relative to the | 6248 | (process_file): Filenames in tags file are relative to the |
| 6245 | directory where the tags file is (useful with the -o option). | 6249 | directory where the tags file is (useful with the -o option). |
| 6246 | (main): Initialise the outfiledir var. | 6250 | (main): Initialize the outfiledir var. |
| 6247 | (TYPEDST): Add the `tignore' value. | 6251 | (TYPEDST): Add the `tignore' value. |
| 6248 | (C_entries): Corrected various small bugs. | 6252 | (C_entries): Corrected various small bugs. |
| 6249 | 6253 | ||
| @@ -6549,7 +6553,7 @@ | |||
| 6549 | 6553 | ||
| 6550 | 1993-09-20 Francesco Potortì (pot@fly) | 6554 | 1993-09-20 Francesco Potortì (pot@fly) |
| 6551 | 6555 | ||
| 6552 | * etags.c (C_entries): is_func is initialised here instead of in | 6556 | * etags.c (C_entries): is_func is initialized here instead of in |
| 6553 | consider_token for the sake of the yacc rules section. | 6557 | consider_token for the sake of the yacc rules section. |
| 6554 | (C_entries): Now class, struct, enum, union and typedef produce | 6558 | (C_entries): Now class, struct, enum, union and typedef produce |
| 6555 | named tags. | 6559 | named tags. |
| @@ -6603,7 +6607,7 @@ | |||
| 6603 | 6607 | ||
| 6604 | 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu) | 6608 | 1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu) |
| 6605 | 6609 | ||
| 6606 | * etags.c (L_isdef, L_isquote, L_getit): Small optimisations. | 6610 | * etags.c (L_isdef, L_isquote, L_getit): Small optimizations. |
| 6607 | (L_funcs): The (foo::defmumble stuff now should work. | 6611 | (L_funcs): The (foo::defmumble stuff now should work. |
| 6608 | (consider_token): Function returned random value--corrected. | 6612 | (consider_token): Function returned random value--corrected. |
| 6609 | (C_entries): Corrected == versus = typo. | 6613 | (C_entries): Corrected == versus = typo. |
| @@ -6625,7 +6629,7 @@ | |||
| 6625 | (C_entries, consider_token): Make use of fignore. | 6629 | (C_entries, consider_token): Make use of fignore. |
| 6626 | (consider_token): Reset funcdef when next_token_is_func: when in | 6630 | (consider_token): Reset funcdef when next_token_is_func: when in |
| 6627 | ctags mode makes DEFVAR and others work better. | 6631 | ctags mode makes DEFVAR and others work better. |
| 6628 | (L_isquote): Function that recognises the "(quote" string. | 6632 | (L_isquote): Function that recognizes the "(quote" string. |
| 6629 | (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias. | 6633 | (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias. |
| 6630 | 6634 | ||
| 6631 | 1993-07-29 Paul Eggert (eggert@twinsun.com) | 6635 | 1993-07-29 Paul Eggert (eggert@twinsun.com) |
| @@ -6972,7 +6976,7 @@ | |||
| 6972 | (TOKEN): Member linestart removed. | 6976 | (TOKEN): Member linestart removed. |
| 6973 | (linepos, prev_linepos, lb1): Deleted. | 6977 | (linepos, prev_linepos, lb1): Deleted. |
| 6974 | (main): Call initbuffer on lbs array instead of lb1. | 6978 | (main): Call initbuffer on lbs array instead of lb1. |
| 6975 | (init): Remove the initialisation of the logical _gd array. | 6979 | (init): Remove the initialization of the logical _gd array. |
| 6976 | (find_entries): A .sa suffix means assembler file. | 6980 | (find_entries): A .sa suffix means assembler file. |
| 6977 | (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec. | 6981 | (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec. |
| 6978 | All C state machines rewritten. | 6982 | All C state machines rewritten. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 499305ec512..c5e117f66f9 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -175,11 +175,11 @@ ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} | |||
| 175 | LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} | 175 | LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} |
| 176 | CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} | 176 | CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} |
| 177 | 177 | ||
| 178 | all: ${EXE_FILES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} ${STAMP_INST_SCRIPTS} ${STAMP_SCRIPTS} | ||
| 179 | |||
| 178 | LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) | 180 | LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) |
| 179 | $(EXE_FILES): ../lib/libgnu.a | 181 | $(EXE_FILES): ../lib/libgnu.a |
| 180 | 182 | ||
| 181 | all: ${EXE_FILES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS} ${STAMP_INST_SCRIPTS} ${STAMP_SCRIPTS} | ||
| 182 | |||
| 183 | ## These targets copy the scripts into the build directory so that | 183 | ## These targets copy the scripts into the build directory so that |
| 184 | ## they can be run from there in an uninstalled Emacs. | 184 | ## they can be run from there in an uninstalled Emacs. |
| 185 | ## Nothing to do if pwd = srcdir. | 185 | ## Nothing to do if pwd = srcdir. |
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 76aa21884de..56e17c100be 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -1193,7 +1193,7 @@ handle_sigtstp (int signalnum) | |||
| 1193 | send_to_emacs (emacs_socket, "-suspend \n"); | 1193 | send_to_emacs (emacs_socket, "-suspend \n"); |
| 1194 | 1194 | ||
| 1195 | /* Unblock this signal and call the default handler by temporarily | 1195 | /* Unblock this signal and call the default handler by temporarily |
| 1196 | changing the handler and resignalling. */ | 1196 | changing the handler and resignaling. */ |
| 1197 | sigprocmask (SIG_BLOCK, NULL, &set); | 1197 | sigprocmask (SIG_BLOCK, NULL, &set); |
| 1198 | sigdelset (&set, signalnum); | 1198 | sigdelset (&set, signalnum); |
| 1199 | signal (signalnum, SIG_DFL); | 1199 | signal (signalnum, SIG_DFL); |
diff --git a/lib-src/etags.c b/lib-src/etags.c index 5bd8077265f..30d90e9d911 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -326,7 +326,7 @@ typedef struct regexp | |||
| 326 | struct re_pattern_buffer *pat; /* the compiled pattern */ | 326 | struct re_pattern_buffer *pat; /* the compiled pattern */ |
| 327 | struct re_registers regs; /* re registers */ | 327 | struct re_registers regs; /* re registers */ |
| 328 | bool error_signaled; /* already signaled for this regexp */ | 328 | bool error_signaled; /* already signaled for this regexp */ |
| 329 | bool force_explicit_name; /* do not allow implict tag name */ | 329 | bool force_explicit_name; /* do not allow implicit tag name */ |
| 330 | bool ignore_case; /* ignore case when matching */ | 330 | bool ignore_case; /* ignore case when matching */ |
| 331 | bool multi_line; /* do a multi-line match on the whole file */ | 331 | bool multi_line; /* do a multi-line match on the whole file */ |
| 332 | } regexp; | 332 | } regexp; |
| @@ -611,7 +611,7 @@ using `--declarations'."; | |||
| 611 | static const char *Cplusplus_suffixes [] = | 611 | static const char *Cplusplus_suffixes [] = |
| 612 | { "C", "c++", "cc", "cpp", "cxx", "H", "h++", "hh", "hpp", "hxx", | 612 | { "C", "c++", "cc", "cpp", "cxx", "H", "h++", "hh", "hpp", "hxx", |
| 613 | "M", /* Objective C++ */ | 613 | "M", /* Objective C++ */ |
| 614 | "pdb", /* Postscript with C syntax */ | 614 | "pdb", /* PostScript with C syntax */ |
| 615 | NULL }; | 615 | NULL }; |
| 616 | static const char Cplusplus_help [] = | 616 | static const char Cplusplus_help [] = |
| 617 | "In C++ code, all the tag constructs of C code are tagged. (Use\n\ | 617 | "In C++ code, all the tag constructs of C code are tagged. (Use\n\ |
| @@ -1862,10 +1862,10 @@ find_entries (FILE *inf) | |||
| 1862 | 1862 | ||
| 1863 | assert (parser != NULL); | 1863 | assert (parser != NULL); |
| 1864 | 1864 | ||
| 1865 | /* Generic initialisations before reading from file. */ | 1865 | /* Generic initializations before reading from file. */ |
| 1866 | linebuffer_setlen (&filebuf, 0); /* reset the file buffer */ | 1866 | linebuffer_setlen (&filebuf, 0); /* reset the file buffer */ |
| 1867 | 1867 | ||
| 1868 | /* Generic initialisations before parsing file with readline. */ | 1868 | /* Generic initializations before parsing file with readline. */ |
| 1869 | lineno = 0; /* reset global line number */ | 1869 | lineno = 0; /* reset global line number */ |
| 1870 | charno = 0; /* reset global char number */ | 1870 | charno = 0; /* reset global char number */ |
| 1871 | linecharno = 0; /* reset global char number of line start */ | 1871 | linecharno = 0; /* reset global char number of line start */ |
| @@ -1895,7 +1895,7 @@ find_entries (FILE *inf) | |||
| 1895 | * 4. the character, if any, immediately after NAME in LINESTART must | 1895 | * 4. the character, if any, immediately after NAME in LINESTART must |
| 1896 | * also be a character in NONAM. | 1896 | * also be a character in NONAM. |
| 1897 | * | 1897 | * |
| 1898 | * The implementation uses the notinname() macro, which recognises the | 1898 | * The implementation uses the notinname() macro, which recognizes the |
| 1899 | * characters stored in the string `nonam'. | 1899 | * characters stored in the string `nonam'. |
| 1900 | * etags.el needs to use the same characters that are in NONAM. | 1900 | * etags.el needs to use the same characters that are in NONAM. |
| 1901 | */ | 1901 | */ |
| @@ -3057,7 +3057,7 @@ make_C_tag (int isfun) | |||
| 3057 | make_tag (token_name.buffer, token_name.len, isfun, token.line, | 3057 | make_tag (token_name.buffer, token_name.len, isfun, token.line, |
| 3058 | token.offset+token.length+1, token.lineno, token.linepos); | 3058 | token.offset+token.length+1, token.lineno, token.linepos); |
| 3059 | else if (DEBUG) | 3059 | else if (DEBUG) |
| 3060 | { /* this branch is optimised away if !DEBUG */ | 3060 | { /* this branch is optimized away if !DEBUG */ |
| 3061 | make_tag (concat ("INVALID TOKEN:-->", token_name.buffer, ""), | 3061 | make_tag (concat ("INVALID TOKEN:-->", token_name.buffer, ""), |
| 3062 | token_name.len + 17, isfun, token.line, | 3062 | token_name.len + 17, isfun, token.line, |
| 3063 | token.offset+token.length+1, token.lineno, token.linepos); | 3063 | token.offset+token.length+1, token.lineno, token.linepos); |
| @@ -3304,7 +3304,7 @@ C_entries (int c_ext, FILE *inf) | |||
| 3304 | if (c == ':' && *lp == ':' && begtoken (lp[1])) | 3304 | if (c == ':' && *lp == ':' && begtoken (lp[1])) |
| 3305 | /* This handles :: in the middle, | 3305 | /* This handles :: in the middle, |
| 3306 | but not at the beginning of an identifier. | 3306 | but not at the beginning of an identifier. |
| 3307 | Also, space-separated :: is not recognised. */ | 3307 | Also, space-separated :: is not recognized. */ |
| 3308 | { | 3308 | { |
| 3309 | if (c_ext & C_AUTO) /* automatic detection of C++ */ | 3309 | if (c_ext & C_AUTO) /* automatic detection of C++ */ |
| 3310 | c_ext = (c_ext | C_PLPL) & ~C_AUTO; | 3310 | c_ext = (c_ext | C_PLPL) & ~C_AUTO; |
| @@ -4846,7 +4846,7 @@ Lua_functions (FILE *inf) | |||
| 4846 | 4846 | ||
| 4847 | 4847 | ||
| 4848 | /* | 4848 | /* |
| 4849 | * Postscript tags | 4849 | * PostScript tags |
| 4850 | * Just look for lines where the first character is '/' | 4850 | * Just look for lines where the first character is '/' |
| 4851 | * Also look at "defineps" for PSWrap | 4851 | * Also look at "defineps" for PSWrap |
| 4852 | * Ideas by: | 4852 | * Ideas by: |
| @@ -5900,7 +5900,7 @@ regex_tag_multiline (void) | |||
| 5900 | if (!rp->multi_line) | 5900 | if (!rp->multi_line) |
| 5901 | continue; /* skip normal regexps */ | 5901 | continue; /* skip normal regexps */ |
| 5902 | 5902 | ||
| 5903 | /* Generic initialisations before parsing file from memory. */ | 5903 | /* Generic initializations before parsing file from memory. */ |
| 5904 | lineno = 1; /* reset global line number */ | 5904 | lineno = 1; /* reset global line number */ |
| 5905 | charno = 0; /* reset global char number */ | 5905 | charno = 0; /* reset global char number */ |
| 5906 | linecharno = 0; /* reset global char number of line start */ | 5906 | linecharno = 0; /* reset global char number of line start */ |
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c index 9fba51a33de..e335617df4d 100644 --- a/lib-src/update-game-score.c +++ b/lib-src/update-game-score.c | |||
| @@ -346,7 +346,7 @@ read_scores (const char *filename, struct score_entry **scores, int *count) | |||
| 346 | return -1; | 346 | return -1; |
| 347 | while ((readval = read_score (f, &ret[scorecount])) == 0) | 347 | while ((readval = read_score (f, &ret[scorecount])) == 0) |
| 348 | { | 348 | { |
| 349 | /* We encoutered an error */ | 349 | /* We encountered an error. */ |
| 350 | if (readval < 0) | 350 | if (readval < 0) |
| 351 | return -1; | 351 | return -1; |
| 352 | scorecount++; | 352 | scorecount++; |