new syntax macro (FILE-ENABLE-SQL-READER-SYNTAX)
authorNathan Bird <nathan@acceleration.net>
Mon, 20 Apr 2009 14:15:25 +0000 (10:15 -0400)
committerNathan Bird <nathan@acceleration.net>
Mon, 20 Apr 2009 14:19:32 +0000 (10:19 -0400)
commit945ff67ce59c8be1bfdec385145a1d62fcad3352
tree5699ef502d70d49f1fc63f78df9376ae1ee5b78f
parent9cd358eb11bb61883a20f46819c6e3f343122d4d
new syntax macro (FILE-ENABLE-SQL-READER-SYNTAX)
Turns on the SQL reader syntax for the rest of the file.
The CL spec says that when finished loading a file the original
*readtable* is restored.  clhs COMPILE-FILE

This is because we kept having problems with the read syntax
not being disabled. When clsql goes to enable the syntax it first
checks that it hasn't already done so. Clsql believed it had, but
the lisp had correctly disabled it and so we are left without the
syntax being enabled.
sql/package.lisp
sql/syntax.lisp