Skip to content

Commit

Permalink
Swap loop directives to appease ECL
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Feb 27, 2012
1 parent af634c7 commit 9c00520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s-sql/s-sql.lisp
Expand Up @@ -558,7 +558,7 @@ the proper SQL syntax for joining tables."
(member x '(:left-join :right-join :inner-join :outer-join :cross-join))))
(when (null args)
(sql-error "Empty :from clause in select"))
(loop :while args :for first = t :then nil
(loop :for first = t :then nil :while args
:append (cond ((is-join (car args))
(when first (sql-error ":from clause starts with a join."))
(expand-join nil))
Expand Down

0 comments on commit 9c00520

Please sign in to comment.