diff options
| author | Paul Eggert | 2011-04-13 19:27:17 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-13 19:27:17 -0700 |
| commit | d4b43b229a8b7c104c928521001dd48bd339953c (patch) | |
| tree | aa5a158eabc7863ab147325842723ce3d5067c9d /src | |
| parent | b7c513d0049fc726e8c2bdba84f601eac0801512 (diff) | |
| download | emacs-d4b43b229a8b7c104c928521001dd48bd339953c.tar.gz emacs-d4b43b229a8b7c104c928521001dd48bd339953c.zip | |
* syntax.c (syntax_temp): Define only if !__GNUC__.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/syntax.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3762f04b4a4..b54fdf8053a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * syntax.c (syntax_temp): Define only if !__GNUC__. | ||
| 4 | |||
| 3 | * sound.c (current_sound_device, current_sound): Now static. | 5 | * sound.c (current_sound_device, current_sound): Now static. |
| 4 | 6 | ||
| 5 | * search.c (searchbufs, searchbuf_head): Now static. | 7 | * search.c (searchbufs, searchbuf_head): Now static. |
diff --git a/src/syntax.c b/src/syntax.c index 96d50f9a4e3..518ba3bba15 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -98,10 +98,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 98 | static Lisp_Object Qsyntax_table_p; | 98 | static Lisp_Object Qsyntax_table_p; |
| 99 | static Lisp_Object Qsyntax_table, Qscan_error; | 99 | static Lisp_Object Qsyntax_table, Qscan_error; |
| 100 | 100 | ||
| 101 | #ifndef __GNUC__ | ||
| 101 | /* Used as a temporary in SYNTAX_ENTRY and other macros in syntax.h, | 102 | /* Used as a temporary in SYNTAX_ENTRY and other macros in syntax.h, |
| 102 | if not compiled with GCC. No need to mark it, since it is used | 103 | if not compiled with GCC. No need to mark it, since it is used |
| 103 | only very temporarily. */ | 104 | only very temporarily. */ |
| 104 | Lisp_Object syntax_temp; | 105 | Lisp_Object syntax_temp; |
| 106 | #endif | ||
| 105 | 107 | ||
| 106 | /* This is the internal form of the parse state used in parse-partial-sexp. */ | 108 | /* This is the internal form of the parse state used in parse-partial-sexp. */ |
| 107 | 109 | ||