Commit 6fa2b890 authored by Juanma Barranquero's avatar Juanma Barranquero

(read_vector): Follow error conventions.

parent b5251fe7
...@@ -2845,7 +2845,7 @@ read_vector (readcharfun, bytecodeflag) ...@@ -2845,7 +2845,7 @@ read_vector (readcharfun, bytecodeflag)
if (i == COMPILED_BYTECODE) if (i == COMPILED_BYTECODE)
{ {
if (!STRINGP (item)) if (!STRINGP (item))
error ("invalid byte code"); error ("Invalid byte code");
/* Delay handling the bytecode slot until we know whether /* Delay handling the bytecode slot until we know whether
it is lazily-loaded (we can tell by whether the it is lazily-loaded (we can tell by whether the
...@@ -2867,7 +2867,7 @@ read_vector (readcharfun, bytecodeflag) ...@@ -2867,7 +2867,7 @@ read_vector (readcharfun, bytecodeflag)
item = Fread (bytestr); item = Fread (bytestr);
if (!CONSP (item)) if (!CONSP (item))
error ("invalid byte code"); error ("Invalid byte code");
otem = XCONS (item); otem = XCONS (item);
bytestr = XCAR (item); bytestr = XCAR (item);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment