comparison src/syntax.c @ 63703:bb4ab751a6a3

(Fstring_to_syntax): Follow error conventions.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 23 Jun 2005 16:15:29 +0000
parents 98e94b29b59b
children a8fa7c632ee4 b7da78284d4c
comparison
equal deleted inserted replaced
63702:6d4accecc80c 63703:bb4ab751a6a3
921 CHECK_STRING (string); 921 CHECK_STRING (string);
922 922
923 p = SDATA (string); 923 p = SDATA (string);
924 code = (enum syntaxcode) syntax_spec_code[*p++]; 924 code = (enum syntaxcode) syntax_spec_code[*p++];
925 if (((int) code & 0377) == 0377) 925 if (((int) code & 0377) == 0377)
926 error ("invalid syntax description letter: %c", p[-1]); 926 error ("Invalid syntax description letter: %c", p[-1]);
927 927
928 if (code == Sinherit) 928 if (code == Sinherit)
929 return Qnil; 929 return Qnil;
930 930
931 if (*p) 931 if (*p)