aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorPaul Eggert2012-07-30 11:56:42 -0700
committerPaul Eggert2012-07-30 11:56:42 -0700
commit7393bcbb8bf25c97aed35079da765436d4e9fc03 (patch)
tree0dda0e5bacb8115b1103c07a9abd13dc5ba80c87 /src/syntax.c
parentc32af1e4a04ef689097f73430982b28392d72372 (diff)
downloademacs-7393bcbb8bf25c97aed35079da765436d4e9fc03.tar.gz
emacs-7393bcbb8bf25c97aed35079da765436d4e9fc03.zip
* lisp.h (SWITCH_ENUM_CAST): Remove. All uses removed.
This no-op macro hasn't been needed for many years. * src/regex.c (SWITCH_ENUM_CAST) [!emacs]: Likewise.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/syntax.c b/src/syntax.c
index 14bec9a9c2f..f0e30803dea 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -1152,7 +1152,7 @@ DEFUN ("internal-describe-syntax-value", Finternal_describe_syntax_value,
1152 1152
1153 insert_string ("\twhich means: "); 1153 insert_string ("\twhich means: ");
1154 1154
1155 switch (SWITCH_ENUM_CAST (code)) 1155 switch (code)
1156 { 1156 {
1157 case Swhitespace: 1157 case Swhitespace:
1158 insert_string ("whitespace"); break; 1158 insert_string ("whitespace"); break;
@@ -2525,7 +2525,7 @@ scan_lists (register EMACS_INT from, EMACS_INT count, EMACS_INT depth, int sexpf
2525 if (prefix) 2525 if (prefix)
2526 continue; 2526 continue;
2527 2527
2528 switch (SWITCH_ENUM_CAST (code)) 2528 switch (code)
2529 { 2529 {
2530 case Sescape: 2530 case Sescape:
2531 case Scharquote: 2531 case Scharquote:
@@ -2702,7 +2702,7 @@ scan_lists (register EMACS_INT from, EMACS_INT count, EMACS_INT depth, int sexpf
2702 else if (SYNTAX_FLAGS_PREFIX (syntax)) 2702 else if (SYNTAX_FLAGS_PREFIX (syntax))
2703 continue; 2703 continue;
2704 2704
2705 switch (SWITCH_ENUM_CAST (code)) 2705 switch (code)
2706 { 2706 {
2707 case Sword: 2707 case Sword:
2708 case Ssymbol: 2708 case Ssymbol:
@@ -3123,7 +3123,7 @@ do { prev_from = from; \
3123 3123
3124 if (SYNTAX_FLAGS_PREFIX (prev_from_syntax)) 3124 if (SYNTAX_FLAGS_PREFIX (prev_from_syntax))
3125 continue; 3125 continue;
3126 switch (SWITCH_ENUM_CAST (code)) 3126 switch (code)
3127 { 3127 {
3128 case Sescape: 3128 case Sescape:
3129 case Scharquote: 3129 case Scharquote: