\ProvidesPackage{listscala}
\RequirePackage{listings}
%
% $Id: listscala.sty 34 2008-04-06 12:12:28Z sufrin $
%
% TexTract Scala definition; including definitions for the CSO library
%
\lstdefinelanguage{scala}
  {morekeywords={
        abstract, case, catch, class, def, 
        do, else, extends, false, final, 
        finally, for, forSome, if, implicit, 
        import, match, new, null, object, 
        override, package, private, protected, requires, 
        return, sealed, super, this, throw, 
        trait, try, true, type, val, 
        var, while, with, yield,
        boolean, byte, char, int, long, double, float,
        synchronized, repeat, break, attempt,
        proc, prialt, alt, this, stop, before, ontimeout, onclosed, attempt,}      
   sensitive,%
   morecomment=[l]//,%
   morecomment=[l]...,%
   morecomment=[s]{/*}{*/},%
   morecomment=[s]{``}{''},%
   morestring=[b]",%
   morestring=[b]',%
  }[keywords,comments,strings]%


