Mercurial > hg > xemacs-beta
comparison src/search.c @ 5542:dab422055bab
Correct array bound for syntax_code_spec.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Mon, 08 Aug 2011 13:57:20 +0900 |
parents | 4307b8e5998c |
children | 56144c8593a8 |
comparison
equal
deleted
inserted
replaced
5541:ebd367b82ccd | 5542:dab422055bab |
---|---|
924 { | 924 { |
925 c = itext_ichar (p); | 925 c = itext_ichar (p); |
926 INC_IBYTEPTR (p); | 926 INC_IBYTEPTR (p); |
927 if (syntaxp) | 927 if (syntaxp) |
928 { | 928 { |
929 if (c < 0400 && syntax_spec_code[c] < (unsigned char) Smax) | 929 if (c < 0200 && syntax_spec_code[c] < (unsigned char) Smax) |
930 fastmap[c] = 1; | 930 fastmap[c] = 1; |
931 else | 931 else |
932 invalid_argument ("Invalid syntax designator", make_char (c)); | 932 invalid_argument ("Invalid syntax designator", make_char (c)); |
933 } | 933 } |
934 else | 934 else |