
/* Lexical analyzer, built with flex.
 * If this file is named "lexer" then DON'T MODIFY IT!
 * File lexer is built from lexer.in !!!!
 */

%{
#   include "yodl2html-post.h"
#   include "parser.tab.h"

#ifdef yywrap
#   undef yywrap
#endif
static int yywrap ()
{
    return (1);
}
%}

%%

".YODLTAGSTART."          return (tok_starttag);
".YODLTAGEND."            return (tok_endtag);
\n                      { lineno++; return (tok_space); }
[ \t]+                  return (tok_space);
[a-zA-Z0-9]+            return (tok_string);
.                       return (tok_string);
