unmatched type specification error

Boris D <[email protected]> Sun, 25 Jan 2009 15:37:16 -0800
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Following the ML-Yacc user guide, I created a file glue.sml with the 
following content:

structure SlpLrVals = SlpLrValsFun(structure Token = LrParser.Token);
structure SlpLex = SlpLexFun(structure Tokens = SlpLrVals.Tokens);
structure SlpParser = JoinWithArg(
        structure ParserData = SlpLrVals.ParserData
        structure Lex=SlpLex
        structure LrParser = LrParser);

Compiling my parser, I get the following error:

glue.sml:3.23-6.33 Error: unmatched type specification: arg

Any idea what is wrong with this code?

TIA.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword