aboutsummaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorTom Tromey2018-07-06 21:56:17 -0600
committerTom Tromey2018-07-12 22:12:27 -0600
commit42fe787b0f26c2df682b2797407a669ef8522ccb (patch)
treee944fe465e2b65703a8361bc82647faf4f7907f1 /src/syntax.c
parent01dbf2a347944497fdcf2ec156f4605020d7ba2a (diff)
downloademacs-42fe787b0f26c2df682b2797407a669ef8522ccb.tar.gz
emacs-42fe787b0f26c2df682b2797407a669ef8522ccb.zip
Rename integerp->fixnum, etc, in preparation for bignums
* src/json.c, src/keyboard.c, src/keyboard.h, src/keymap.c, src/kqueue.c, src/lcms.c, src/lisp.h, src/lread.c, src/macros.c, src/marker.c, src/menu.c, src/minibuf.c, src/msdos.c, src/print.c, src/process.c, src/profiler.c, src/search.c, src/sound.c, src/syntax.c, src/sysdep.c, src/term.c, src/terminal.c, src/textprop.c, src/undo.c, src/w16select.c, src/w32.c, src/w32console.c, src/w32cygwinx.c, src/w32fns.c, src/w32font.c, src/w32inevt.c, src/w32proc.c, src/w32select.c, src/w32term.c, src/w32uniscribe.c, src/widget.c, src/window.c, src/xdisp.c, src/xfaces.c, src/xfns.c, src/xfont.c, src/xftfont.c, src/xmenu.c, src/xrdb.c, src/xselect.c, src/xterm.c, src/xwidget.c: Rename INTEGERP->FIXNUM, make_number->make_fixnum, CHECK_NUMBER->CHECK_FIXNUM, make_natnum->make_fixed_natum, NUMBERP->FIXED_OR_FLOATP, NATNUMP->FIXNATP, CHECK_NATNUM->CHECK_FIXNAT.
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c108
1 files changed, 54 insertions, 54 deletions
diff --git a/src/syntax.c b/src/syntax.c
index c5a4b03955b..8434f47a5f7 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -490,7 +490,7 @@ parse_sexp_propertize (ptrdiff_t charpos)
490 { 490 {
491 EMACS_INT modiffs = CHARS_MODIFF; 491 EMACS_INT modiffs = CHARS_MODIFF;
492 safe_call1 (Qinternal__syntax_propertize, 492 safe_call1 (Qinternal__syntax_propertize,
493 make_number (min (zv, 1 + charpos))); 493 make_fixnum (min (zv, 1 + charpos)));
494 if (modiffs != CHARS_MODIFF) 494 if (modiffs != CHARS_MODIFF)
495 error ("parse-sexp-propertize-function modified the buffer!"); 495 error ("parse-sexp-propertize-function modified the buffer!");
496 if (syntax_propertize__done <= charpos 496 if (syntax_propertize__done <= charpos
@@ -608,12 +608,12 @@ find_defun_start (ptrdiff_t pos, ptrdiff_t pos_byte)
608 if (!NILP (Vcomment_use_syntax_ppss)) 608 if (!NILP (Vcomment_use_syntax_ppss))
609 { 609 {
610 EMACS_INT modiffs = CHARS_MODIFF; 610 EMACS_INT modiffs = CHARS_MODIFF;
611 Lisp_Object ppss = call1 (Qsyntax_ppss, make_number (pos)); 611 Lisp_Object ppss = call1 (Qsyntax_ppss, make_fixnum (pos));
612 if (modiffs != CHARS_MODIFF) 612 if (modiffs != CHARS_MODIFF)
613 error ("syntax-ppss modified the buffer!"); 613 error ("syntax-ppss modified the buffer!");
614 TEMP_SET_PT_BOTH (opoint, opoint_byte); 614 TEMP_SET_PT_BOTH (opoint, opoint_byte);
615 Lisp_Object boc = Fnth (make_number (8), ppss); 615 Lisp_Object boc = Fnth (make_fixnum (8), ppss);
616 if (NUMBERP (boc)) 616 if (FIXED_OR_FLOATP (boc))
617 { 617 {
618 find_start_value = XINT (boc); 618 find_start_value = XINT (boc);
619 find_start_value_byte = CHAR_TO_BYTE (find_start_value); 619 find_start_value_byte = CHAR_TO_BYTE (find_start_value);
@@ -1120,7 +1120,7 @@ this is probably the wrong function to use, because it can't take
1120 CHECK_CHARACTER (character); 1120 CHECK_CHARACTER (character);
1121 char_int = XINT (character); 1121 char_int = XINT (character);
1122 SETUP_BUFFER_SYNTAX_TABLE (); 1122 SETUP_BUFFER_SYNTAX_TABLE ();
1123 return make_number (syntax_code_spec[SYNTAX (char_int)]); 1123 return make_fixnum (syntax_code_spec[SYNTAX (char_int)]);
1124} 1124}
1125 1125
1126DEFUN ("matching-paren", Fmatching_paren, Smatching_paren, 1, 1, 0, 1126DEFUN ("matching-paren", Fmatching_paren, Smatching_paren, 1, 1, 0,
@@ -1212,7 +1212,7 @@ the value of a `syntax-table' text property. */)
1212 return AREF (Vsyntax_code_object, val); 1212 return AREF (Vsyntax_code_object, val);
1213 else 1213 else
1214 /* Since we can't use a shared object, let's make a new one. */ 1214 /* Since we can't use a shared object, let's make a new one. */
1215 return Fcons (make_number (val), match); 1215 return Fcons (make_fixnum (val), match);
1216} 1216}
1217 1217
1218/* I really don't know why this is interactive 1218/* I really don't know why this is interactive
@@ -1319,7 +1319,7 @@ DEFUN ("internal-describe-syntax-value", Finternal_describe_syntax_value,
1319 first = XCAR (value); 1319 first = XCAR (value);
1320 match_lisp = XCDR (value); 1320 match_lisp = XCDR (value);
1321 1321
1322 if (!INTEGERP (first) || !(NILP (match_lisp) || CHARACTERP (match_lisp))) 1322 if (!FIXNUMP (first) || !(NILP (match_lisp) || CHARACTERP (match_lisp)))
1323 { 1323 {
1324 insert_string ("invalid"); 1324 insert_string ("invalid");
1325 return syntax; 1325 return syntax;
@@ -1480,8 +1480,8 @@ scan_words (ptrdiff_t from, EMACS_INT count)
1480 func = CHAR_TABLE_REF (Vfind_word_boundary_function_table, ch0); 1480 func = CHAR_TABLE_REF (Vfind_word_boundary_function_table, ch0);
1481 if (! NILP (Ffboundp (func))) 1481 if (! NILP (Ffboundp (func)))
1482 { 1482 {
1483 pos = call2 (func, make_number (from - 1), make_number (end)); 1483 pos = call2 (func, make_fixnum (from - 1), make_fixnum (end));
1484 if (INTEGERP (pos) && from < XINT (pos) && XINT (pos) <= ZV) 1484 if (FIXNUMP (pos) && from < XINT (pos) && XINT (pos) <= ZV)
1485 { 1485 {
1486 from = XINT (pos); 1486 from = XINT (pos);
1487 from_byte = CHAR_TO_BYTE (from); 1487 from_byte = CHAR_TO_BYTE (from);
@@ -1529,8 +1529,8 @@ scan_words (ptrdiff_t from, EMACS_INT count)
1529 func = CHAR_TABLE_REF (Vfind_word_boundary_function_table, ch1); 1529 func = CHAR_TABLE_REF (Vfind_word_boundary_function_table, ch1);
1530 if (! NILP (Ffboundp (func))) 1530 if (! NILP (Ffboundp (func)))
1531 { 1531 {
1532 pos = call2 (func, make_number (from), make_number (beg)); 1532 pos = call2 (func, make_fixnum (from), make_fixnum (beg));
1533 if (INTEGERP (pos) && BEGV <= XINT (pos) && XINT (pos) < from) 1533 if (FIXNUMP (pos) && BEGV <= XINT (pos) && XINT (pos) < from)
1534 { 1534 {
1535 from = XINT (pos); 1535 from = XINT (pos);
1536 from_byte = CHAR_TO_BYTE (from); 1536 from_byte = CHAR_TO_BYTE (from);
@@ -1586,14 +1586,14 @@ instead. See Info node `(elisp) Word Motion' for details. */)
1586 if (NILP (arg)) 1586 if (NILP (arg))
1587 XSETFASTINT (arg, 1); 1587 XSETFASTINT (arg, 1);
1588 else 1588 else
1589 CHECK_NUMBER (arg); 1589 CHECK_FIXNUM (arg);
1590 1590
1591 val = orig_val = scan_words (PT, XINT (arg)); 1591 val = orig_val = scan_words (PT, XINT (arg));
1592 if (! orig_val) 1592 if (! orig_val)
1593 val = XINT (arg) > 0 ? ZV : BEGV; 1593 val = XINT (arg) > 0 ? ZV : BEGV;
1594 1594
1595 /* Avoid jumping out of an input field. */ 1595 /* Avoid jumping out of an input field. */
1596 tmp = Fconstrain_to_field (make_number (val), make_number (PT), 1596 tmp = Fconstrain_to_field (make_fixnum (val), make_fixnum (PT),
1597 Qnil, Qnil, Qnil); 1597 Qnil, Qnil, Qnil);
1598 val = XFASTINT (tmp); 1598 val = XFASTINT (tmp);
1599 1599
@@ -1676,7 +1676,7 @@ skip_chars (bool forwardp, Lisp_Object string, Lisp_Object lim,
1676 if (NILP (lim)) 1676 if (NILP (lim))
1677 XSETINT (lim, forwardp ? ZV : BEGV); 1677 XSETINT (lim, forwardp ? ZV : BEGV);
1678 else 1678 else
1679 CHECK_NUMBER_COERCE_MARKER (lim); 1679 CHECK_FIXNUM_COERCE_MARKER (lim);
1680 1680
1681 /* In any case, don't allow scan outside bounds of buffer. */ 1681 /* In any case, don't allow scan outside bounds of buffer. */
1682 if (XINT (lim) > ZV) 1682 if (XINT (lim) > ZV)
@@ -1721,7 +1721,7 @@ skip_chars (bool forwardp, Lisp_Object string, Lisp_Object lim,
1721 error ("Invalid ISO C character class"); 1721 error ("Invalid ISO C character class");
1722 if (cc != -1) 1722 if (cc != -1)
1723 { 1723 {
1724 iso_classes = Fcons (make_number (cc), iso_classes); 1724 iso_classes = Fcons (make_fixnum (cc), iso_classes);
1725 i_byte = ch - str; 1725 i_byte = ch - str;
1726 continue; 1726 continue;
1727 } 1727 }
@@ -1817,7 +1817,7 @@ skip_chars (bool forwardp, Lisp_Object string, Lisp_Object lim,
1817 error ("Invalid ISO C character class"); 1817 error ("Invalid ISO C character class");
1818 if (cc != -1) 1818 if (cc != -1)
1819 { 1819 {
1820 iso_classes = Fcons (make_number (cc), iso_classes); 1820 iso_classes = Fcons (make_fixnum (cc), iso_classes);
1821 i_byte = ch - str; 1821 i_byte = ch - str;
1822 continue; 1822 continue;
1823 } 1823 }
@@ -2094,7 +2094,7 @@ skip_chars (bool forwardp, Lisp_Object string, Lisp_Object lim,
2094 SET_PT_BOTH (pos, pos_byte); 2094 SET_PT_BOTH (pos, pos_byte);
2095 2095
2096 SAFE_FREE (); 2096 SAFE_FREE ();
2097 return make_number (PT - start_point); 2097 return make_fixnum (PT - start_point);
2098 } 2098 }
2099} 2099}
2100 2100
@@ -2115,7 +2115,7 @@ skip_syntaxes (bool forwardp, Lisp_Object string, Lisp_Object lim)
2115 if (NILP (lim)) 2115 if (NILP (lim))
2116 XSETINT (lim, forwardp ? ZV : BEGV); 2116 XSETINT (lim, forwardp ? ZV : BEGV);
2117 else 2117 else
2118 CHECK_NUMBER_COERCE_MARKER (lim); 2118 CHECK_FIXNUM_COERCE_MARKER (lim);
2119 2119
2120 /* In any case, don't allow scan outside bounds of buffer. */ 2120 /* In any case, don't allow scan outside bounds of buffer. */
2121 if (XINT (lim) > ZV) 2121 if (XINT (lim) > ZV)
@@ -2124,7 +2124,7 @@ skip_syntaxes (bool forwardp, Lisp_Object string, Lisp_Object lim)
2124 XSETFASTINT (lim, BEGV); 2124 XSETFASTINT (lim, BEGV);
2125 2125
2126 if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim))) 2126 if (forwardp ? (PT >= XFASTINT (lim)) : (PT <= XFASTINT (lim)))
2127 return make_number (0); 2127 return make_fixnum (0);
2128 2128
2129 multibyte = (!NILP (BVAR (current_buffer, enable_multibyte_characters)) 2129 multibyte = (!NILP (BVAR (current_buffer, enable_multibyte_characters))
2130 && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE)); 2130 && (XINT (lim) - PT != CHAR_TO_BYTE (XINT (lim)) - PT_BYTE));
@@ -2256,7 +2256,7 @@ skip_syntaxes (bool forwardp, Lisp_Object string, Lisp_Object lim)
2256 done: 2256 done:
2257 SET_PT_BOTH (pos, pos_byte); 2257 SET_PT_BOTH (pos, pos_byte);
2258 2258
2259 return make_number (PT - start_point); 2259 return make_fixnum (PT - start_point);
2260 } 2260 }
2261} 2261}
2262 2262
@@ -2442,7 +2442,7 @@ between them, return t; otherwise return nil. */)
2442 int dummy2; 2442 int dummy2;
2443 unsigned short int quit_count = 0; 2443 unsigned short int quit_count = 0;
2444 2444
2445 CHECK_NUMBER (count); 2445 CHECK_FIXNUM (count);
2446 count1 = XINT (count); 2446 count1 = XINT (count);
2447 stop = count1 > 0 ? ZV : BEGV; 2447 stop = count1 > 0 ? ZV : BEGV;
2448 2448
@@ -2793,7 +2793,7 @@ scan_lists (EMACS_INT from, EMACS_INT count, EMACS_INT depth, bool sexpflag)
2793 if (depth < min_depth) 2793 if (depth < min_depth)
2794 xsignal3 (Qscan_error, 2794 xsignal3 (Qscan_error,
2795 build_string ("Containing expression ends prematurely"), 2795 build_string ("Containing expression ends prematurely"),
2796 make_number (last_good), make_number (from)); 2796 make_fixnum (last_good), make_fixnum (from));
2797 break; 2797 break;
2798 2798
2799 case Sstring: 2799 case Sstring:
@@ -2949,7 +2949,7 @@ scan_lists (EMACS_INT from, EMACS_INT count, EMACS_INT depth, bool sexpflag)
2949 if (depth < min_depth) 2949 if (depth < min_depth)
2950 xsignal3 (Qscan_error, 2950 xsignal3 (Qscan_error,
2951 build_string ("Containing expression ends prematurely"), 2951 build_string ("Containing expression ends prematurely"),
2952 make_number (last_good), make_number (from)); 2952 make_fixnum (last_good), make_fixnum (from));
2953 break; 2953 break;
2954 2954
2955 case Sendcomment: 2955 case Sendcomment:
@@ -3029,7 +3029,7 @@ scan_lists (EMACS_INT from, EMACS_INT count, EMACS_INT depth, bool sexpflag)
3029 lose: 3029 lose:
3030 xsignal3 (Qscan_error, 3030 xsignal3 (Qscan_error,
3031 build_string ("Unbalanced parentheses"), 3031 build_string ("Unbalanced parentheses"),
3032 make_number (last_good), make_number (from)); 3032 make_fixnum (last_good), make_fixnum (from));
3033} 3033}
3034 3034
3035DEFUN ("scan-lists", Fscan_lists, Sscan_lists, 3, 3, 0, 3035DEFUN ("scan-lists", Fscan_lists, Sscan_lists, 3, 3, 0,
@@ -3053,9 +3053,9 @@ before we have scanned over COUNT lists, return nil if the depth at
3053that point is zero, and signal an error if the depth is nonzero. */) 3053that point is zero, and signal an error if the depth is nonzero. */)
3054 (Lisp_Object from, Lisp_Object count, Lisp_Object depth) 3054 (Lisp_Object from, Lisp_Object count, Lisp_Object depth)
3055{ 3055{
3056 CHECK_NUMBER (from); 3056 CHECK_FIXNUM (from);
3057 CHECK_NUMBER (count); 3057 CHECK_FIXNUM (count);
3058 CHECK_NUMBER (depth); 3058 CHECK_FIXNUM (depth);
3059 3059
3060 return scan_lists (XINT (from), XINT (count), XINT (depth), 0); 3060 return scan_lists (XINT (from), XINT (count), XINT (depth), 0);
3061} 3061}
@@ -3073,8 +3073,8 @@ If the beginning or end is reached between groupings
3073but before count is used up, nil is returned. */) 3073but before count is used up, nil is returned. */)
3074 (Lisp_Object from, Lisp_Object count) 3074 (Lisp_Object from, Lisp_Object count)
3075{ 3075{
3076 CHECK_NUMBER (from); 3076 CHECK_FIXNUM (from);
3077 CHECK_NUMBER (count); 3077 CHECK_FIXNUM (count);
3078 3078
3079 return scan_lists (XINT (from), XINT (count), 0, 1); 3079 return scan_lists (XINT (from), XINT (count), 0, 1);
3080} 3080}
@@ -3216,7 +3216,7 @@ do { prev_from = from; \
3216 while (!NILP (tem)) /* >= second enclosing sexps. */ 3216 while (!NILP (tem)) /* >= second enclosing sexps. */
3217 { 3217 {
3218 Lisp_Object temhd = Fcar (tem); 3218 Lisp_Object temhd = Fcar (tem);
3219 if (RANGED_INTEGERP (PTRDIFF_MIN, temhd, PTRDIFF_MAX)) 3219 if (RANGED_FIXNUMP (PTRDIFF_MIN, temhd, PTRDIFF_MAX))
3220 curlevel->last = XINT (temhd); 3220 curlevel->last = XINT (temhd);
3221 if (++curlevel == endlevel) 3221 if (++curlevel == endlevel)
3222 curlevel--; /* error ("Nesting too deep for parser"); */ 3222 curlevel--; /* error ("Nesting too deep for parser"); */
@@ -3462,7 +3462,7 @@ do { prev_from = from; \
3462 state->location_byte = from_byte; 3462 state->location_byte = from_byte;
3463 state->levelstarts = Qnil; 3463 state->levelstarts = Qnil;
3464 while (curlevel > levelstart) 3464 while (curlevel > levelstart)
3465 state->levelstarts = Fcons (make_number ((--curlevel)->last), 3465 state->levelstarts = Fcons (make_fixnum ((--curlevel)->last),
3466 state->levelstarts); 3466 state->levelstarts);
3467 state->prev_syntax = (SYNTAX_FLAGS_COMSTARTEND_FIRST (prev_from_syntax) 3467 state->prev_syntax = (SYNTAX_FLAGS_COMSTARTEND_FIRST (prev_from_syntax)
3468 || state->quoted) ? prev_from_syntax : Smax; 3468 || state->quoted) ? prev_from_syntax : Smax;
@@ -3506,7 +3506,7 @@ internalize_parse_state (Lisp_Object external, struct lisp_parse_state *state)
3506 external = Fcdr (external); 3506 external = Fcdr (external);
3507 tem = Fcar (external); 3507 tem = Fcar (external);
3508 state->incomment = (!NILP (tem) 3508 state->incomment = (!NILP (tem)
3509 ? (INTEGERP (tem) ? XINT (tem) : -1) 3509 ? (FIXNUMP (tem) ? XINT (tem) : -1)
3510 : 0); 3510 : 0);
3511 3511
3512 external = Fcdr (external); 3512 external = Fcdr (external);
@@ -3520,14 +3520,14 @@ internalize_parse_state (Lisp_Object external, struct lisp_parse_state *state)
3520 tem = Fcar (external); 3520 tem = Fcar (external);
3521 state->comstyle = (NILP (tem) 3521 state->comstyle = (NILP (tem)
3522 ? 0 3522 ? 0
3523 : (RANGED_INTEGERP (0, tem, ST_COMMENT_STYLE) 3523 : (RANGED_FIXNUMP (0, tem, ST_COMMENT_STYLE)
3524 ? XINT (tem) 3524 ? XINT (tem)
3525 : ST_COMMENT_STYLE)); 3525 : ST_COMMENT_STYLE));
3526 3526
3527 external = Fcdr (external); 3527 external = Fcdr (external);
3528 tem = Fcar (external); 3528 tem = Fcar (external);
3529 state->comstr_start = 3529 state->comstr_start =
3530 RANGED_INTEGERP (PTRDIFF_MIN, tem, PTRDIFF_MAX) ? XINT (tem) : -1; 3530 RANGED_FIXNUMP (PTRDIFF_MIN, tem, PTRDIFF_MAX) ? XINT (tem) : -1;
3531 external = Fcdr (external); 3531 external = Fcdr (external);
3532 tem = Fcar (external); 3532 tem = Fcar (external);
3533 state->levelstarts = tem; 3533 state->levelstarts = tem;
@@ -3583,7 +3583,7 @@ Sixth arg COMMENTSTOP non-nil means stop after the start of a comment.
3583 3583
3584 if (!NILP (targetdepth)) 3584 if (!NILP (targetdepth))
3585 { 3585 {
3586 CHECK_NUMBER (targetdepth); 3586 CHECK_FIXNUM (targetdepth);
3587 target = XINT (targetdepth); 3587 target = XINT (targetdepth);
3588 } 3588 }
3589 else 3589 else
@@ -3600,32 +3600,32 @@ Sixth arg COMMENTSTOP non-nil means stop after the start of a comment.
3600 SET_PT_BOTH (state.location, state.location_byte); 3600 SET_PT_BOTH (state.location, state.location_byte);
3601 3601
3602 return 3602 return
3603 Fcons (make_number (state.depth), 3603 Fcons (make_fixnum (state.depth),
3604 Fcons (state.prevlevelstart < 0 3604 Fcons (state.prevlevelstart < 0
3605 ? Qnil : make_number (state.prevlevelstart), 3605 ? Qnil : make_fixnum (state.prevlevelstart),
3606 Fcons (state.thislevelstart < 0 3606 Fcons (state.thislevelstart < 0
3607 ? Qnil : make_number (state.thislevelstart), 3607 ? Qnil : make_fixnum (state.thislevelstart),
3608 Fcons (state.instring >= 0 3608 Fcons (state.instring >= 0
3609 ? (state.instring == ST_STRING_STYLE 3609 ? (state.instring == ST_STRING_STYLE
3610 ? Qt : make_number (state.instring)) : Qnil, 3610 ? Qt : make_fixnum (state.instring)) : Qnil,
3611 Fcons (state.incomment < 0 ? Qt : 3611 Fcons (state.incomment < 0 ? Qt :
3612 (state.incomment == 0 ? Qnil : 3612 (state.incomment == 0 ? Qnil :
3613 make_number (state.incomment)), 3613 make_fixnum (state.incomment)),
3614 Fcons (state.quoted ? Qt : Qnil, 3614 Fcons (state.quoted ? Qt : Qnil,
3615 Fcons (make_number (state.mindepth), 3615 Fcons (make_fixnum (state.mindepth),
3616 Fcons ((state.comstyle 3616 Fcons ((state.comstyle
3617 ? (state.comstyle == ST_COMMENT_STYLE 3617 ? (state.comstyle == ST_COMMENT_STYLE
3618 ? Qsyntax_table 3618 ? Qsyntax_table
3619 : make_number (state.comstyle)) 3619 : make_fixnum (state.comstyle))
3620 : Qnil), 3620 : Qnil),
3621 Fcons (((state.incomment 3621 Fcons (((state.incomment
3622 || (state.instring >= 0)) 3622 || (state.instring >= 0))
3623 ? make_number (state.comstr_start) 3623 ? make_fixnum (state.comstr_start)
3624 : Qnil), 3624 : Qnil),
3625 Fcons (state.levelstarts, 3625 Fcons (state.levelstarts,
3626 Fcons (state.prev_syntax == Smax 3626 Fcons (state.prev_syntax == Smax
3627 ? Qnil 3627 ? Qnil
3628 : make_number (state.prev_syntax), 3628 : make_fixnum (state.prev_syntax),
3629 Qnil))))))))))); 3629 Qnil)))))))))));
3630} 3630}
3631 3631
@@ -3641,11 +3641,11 @@ init_syntax_once (void)
3641 /* Create objects which can be shared among syntax tables. */ 3641 /* Create objects which can be shared among syntax tables. */
3642 Vsyntax_code_object = make_uninit_vector (Smax); 3642 Vsyntax_code_object = make_uninit_vector (Smax);
3643 for (i = 0; i < Smax; i++) 3643 for (i = 0; i < Smax; i++)
3644 ASET (Vsyntax_code_object, i, Fcons (make_number (i), Qnil)); 3644 ASET (Vsyntax_code_object, i, Fcons (make_fixnum (i), Qnil));
3645 3645
3646 /* Now we are ready to set up this property, so we can 3646 /* Now we are ready to set up this property, so we can
3647 create syntax tables. */ 3647 create syntax tables. */
3648 Fput (Qsyntax_table, Qchar_table_extra_slots, make_number (0)); 3648 Fput (Qsyntax_table, Qchar_table_extra_slots, make_fixnum (0));
3649 3649
3650 temp = AREF (Vsyntax_code_object, Swhitespace); 3650 temp = AREF (Vsyntax_code_object, Swhitespace);
3651 3651
@@ -3677,21 +3677,21 @@ init_syntax_once (void)
3677 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '%', temp); 3677 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '%', temp);
3678 3678
3679 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '(', 3679 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '(',
3680 Fcons (make_number (Sopen), make_number (')'))); 3680 Fcons (make_fixnum (Sopen), make_fixnum (')')));
3681 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, ')', 3681 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, ')',
3682 Fcons (make_number (Sclose), make_number ('('))); 3682 Fcons (make_fixnum (Sclose), make_fixnum ('(')));
3683 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '[', 3683 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '[',
3684 Fcons (make_number (Sopen), make_number (']'))); 3684 Fcons (make_fixnum (Sopen), make_fixnum (']')));
3685 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, ']', 3685 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, ']',
3686 Fcons (make_number (Sclose), make_number ('['))); 3686 Fcons (make_fixnum (Sclose), make_fixnum ('[')));
3687 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '{', 3687 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '{',
3688 Fcons (make_number (Sopen), make_number ('}'))); 3688 Fcons (make_fixnum (Sopen), make_fixnum ('}')));
3689 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '}', 3689 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '}',
3690 Fcons (make_number (Sclose), make_number ('{'))); 3690 Fcons (make_fixnum (Sclose), make_fixnum ('{')));
3691 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '"', 3691 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '"',
3692 Fcons (make_number (Sstring), Qnil)); 3692 Fcons (make_fixnum (Sstring), Qnil));
3693 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '\\', 3693 SET_RAW_SYNTAX_ENTRY (Vstandard_syntax_table, '\\',
3694 Fcons (make_number (Sescape), Qnil)); 3694 Fcons (make_fixnum (Sescape), Qnil));
3695 3695
3696 temp = AREF (Vsyntax_code_object, Ssymbol); 3696 temp = AREF (Vsyntax_code_object, Ssymbol);
3697 for (i = 0; i < 10; i++) 3697 for (i = 0; i < 10; i++)