1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- %{
- /*
- * $Id$
- *
- * Copyright (c) Andrew G. Morgan 1997 <morgan@parc.power.net>
- *
- * This file is covered by the Linux-PAM License (which should be
- * distributed with this file.)
- */
- #ifdef HAVE_CONFIG_H
- # include <config.h>
- #endif
- #include <stdio.h>
- #include "pam_conv_y.h"
- extern int current_line;
- %}
- %option noyywrap
- %%
- "#"[^\n]* ; /* skip comments (sorry) */
- "\\\n" {
- ++current_line;
- }
- ([^\n\t ]|[\\][^\n])+ {
- return TOK;
- }
- [ \t]+ ; /* Ignore */
- <<EOF>> {
- return EOFILE;
- }
- [\n] {
- ++current_line;
- return NL;
- }
- %%
|