OLD | NEW |
1 /* Interface to C preprocessor macro expansion for GDB. | 1 /* Interface to C preprocessor macro expansion for GDB. |
2 Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2002, 2007-2012 Free Software Foundation, Inc. |
3 Contributed by Red Hat, Inc. | 3 Contributed by Red Hat, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 macro_lookup_ftype *lookup_func, | 84 macro_lookup_ftype *lookup_func, |
85 void *lookup_baton); | 85 void *lookup_baton); |
86 | 86 |
87 /* Functions to classify characters according to cpp rules. */ | 87 /* Functions to classify characters according to cpp rules. */ |
88 | 88 |
89 int macro_is_whitespace (int c); | 89 int macro_is_whitespace (int c); |
90 int macro_is_identifier_nondigit (int c); | 90 int macro_is_identifier_nondigit (int c); |
91 int macro_is_digit (int c); | 91 int macro_is_digit (int c); |
92 | 92 |
93 | 93 |
| 94 /* Stringify STR according to C rules and return an xmalloc'd pointer |
| 95 to the result. */ |
| 96 |
| 97 char *macro_stringify (const char *str); |
| 98 |
94 #endif /* MACROEXP_H */ | 99 #endif /* MACROEXP_H */ |
OLD | NEW |