1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00

Add some documentation. Function calls now properly handle multiple

values resulting from a function call as the last argument.

doc/ref/api-languages.texi: Add a small blurb about Lua.

module/language/lua/compile-tree-il.scm: Function calls now properly
handle multiple values resulting from a function call as the last
argument.
This commit is contained in:
Phil 2011-05-07 16:15:11 -05:00 committed by Ian Price
parent faa16f9989
commit f4c44a3ba7
9 changed files with 130 additions and 46 deletions

View file

@ -351,7 +351,7 @@
(enforce-next! #\))
;; finished
save))
(else (syntax-error (get-source-info) "unexpected symbol ~a" token))))
(else (syntax-error (get-source-info) "unexpected token ~a" token))))
;; index -> '[' expression ']'
(define (index)
@ -598,7 +598,6 @@
;; FIXME: does a left-to-right assignment, so x, y = y, x probably
;; doesn't work. Also does not appear to handle the x, y = foo() case.
;;
(define (parse-assignment src left right)
;; and then parses it, branching to handle overflows on either side if necessary
(make-ast-sequence