Christopher Browne cbbrowne
Mon Mar 7 15:42:54 PST 2005
Korry wrote:

> This patch adds two capabilities to the slonik lexical analyzer 
> (scan.l) :  include files and named values.
>
> To inline another file into a slonik script, you would write:
>
>     include </pathname/>
>
> If /pathname /is not an absolute path, slonik searches for the file 
> relative to the curred directory.  A typical use looks like this:
>
>     include <preamble.sk>
>
> Nested include files are supported.  The scanner and parser report the 
> proper file names and line numbers when they run into an error.
>
> To define a new named value (aka a symbol):
>
>     define /name/ /value/;

That's really neat.

I'll try it out as I can; that's a great candidate for going in once 
some "duct tape" tests are in place...

Thanks VERY much!


More information about the Slony1-general mailing list