Skip to content
Snippets Groups Projects
Commit 573de380 authored by Adam Welc's avatar Adam Welc Committed by oracle
Browse files

SET_TYPEOF problem fix.

parent 6575228b
No related branches found
No related tags found
No related merge requests found
...@@ -191,6 +191,8 @@ INLINE_FUN SEXP listAppend(SEXP s, SEXP t) ...@@ -191,6 +191,8 @@ INLINE_FUN SEXP listAppend(SEXP s, SEXP t)
} }
SEXP SET_TYPEOF_FASTR(SEXP x, int v);
/* Language based list constructs. These are identical to the list */ /* Language based list constructs. These are identical to the list */
/* constructs, but the results can be evaluated. */ /* constructs, but the results can be evaluated. */
...@@ -199,8 +201,7 @@ INLINE_FUN SEXP listAppend(SEXP s, SEXP t) ...@@ -199,8 +201,7 @@ INLINE_FUN SEXP listAppend(SEXP s, SEXP t)
INLINE_FUN SEXP lcons(SEXP car, SEXP cdr) INLINE_FUN SEXP lcons(SEXP car, SEXP cdr)
{ {
SEXP e = cons(car, cdr); SEXP e = cons(car, cdr);
e = SET_TYPEOF_FASTR(e, LANGSXP); return SET_TYPEOF_FASTR(e, LANGSXP);
return e;
} }
INLINE_FUN SEXP lang1(SEXP s) INLINE_FUN SEXP lang1(SEXP s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment