* language.h (default_word_break_characters): Add prototype.
* language.c (default_word_break_characters): New function.
This commit is contained in:
parent
7270b6ed5a
commit
9f0a53037d
@ -1,3 +1,8 @@
|
||||
2003-10-06 J. Brobecker <brobecker@gnat.com>
|
||||
|
||||
* language.h (default_word_break_characters): Add prototype.
|
||||
* language.c (default_word_break_characters): New function.
|
||||
|
||||
2003-10-06 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
|
||||
|
@ -1176,6 +1176,15 @@ language_demangle (const struct language_defn *current_language,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Return the default string containing the list of characters
|
||||
delimiting words. This is a reasonable default value that
|
||||
most languages should be able to use. */
|
||||
|
||||
char *
|
||||
default_word_break_characters (void)
|
||||
{
|
||||
return " \t\n!@#$%^&*()+=|~`}{[]\"';:?/>.<,-";
|
||||
}
|
||||
|
||||
/* Define the language that is no language. */
|
||||
|
||||
|
@ -502,4 +502,7 @@ extern CORE_ADDR skip_language_trampoline (CORE_ADDR pc);
|
||||
extern char *language_demangle (const struct language_defn *current_language,
|
||||
const char *mangled, int options);
|
||||
|
||||
/* Splitting strings into words. */
|
||||
extern char *default_word_break_characters (void);
|
||||
|
||||
#endif /* defined (LANGUAGE_H) */
|
||||
|
Loading…
Reference in New Issue
Block a user