xref: /netbsd-src/external/bsd/flex/dist/tests/header_nr_scanner.l (revision 30da1778c39cfb1c029d9367865462f181007762)
1*30da1778Schristos /*
2*30da1778Schristos  * This file is part of flex.
3*30da1778Schristos  *
4*30da1778Schristos  * Redistribution and use in source and binary forms, with or without
5*30da1778Schristos  * modification, are permitted provided that the following conditions
6*30da1778Schristos  * are met:
7*30da1778Schristos  *
8*30da1778Schristos  * 1. Redistributions of source code must retain the above copyright
9*30da1778Schristos  *    notice, this list of conditions and the following disclaimer.
10*30da1778Schristos  * 2. Redistributions in binary form must reproduce the above copyright
11*30da1778Schristos  *    notice, this list of conditions and the following disclaimer in the
12*30da1778Schristos  *    documentation and/or other materials provided with the distribution.
13*30da1778Schristos  *
14*30da1778Schristos  * Neither the name of the University nor the names of its contributors
15*30da1778Schristos  * may be used to endorse or promote products derived from this software
16*30da1778Schristos  * without specific prior written permission.
17*30da1778Schristos  *
18*30da1778Schristos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19*30da1778Schristos  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20*30da1778Schristos  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21*30da1778Schristos  * PURPOSE.
22*30da1778Schristos  */
23*30da1778Schristos 
24*30da1778Schristos %{
25*30da1778Schristos /* A template scanner file to build "scanner.c". */
26*30da1778Schristos #include <stdio.h>
27*30da1778Schristos #include <stdlib.h>
28*30da1778Schristos #include "config.h"
29*30da1778Schristos 
30*30da1778Schristos %}
31*30da1778Schristos 
32*30da1778Schristos %option 8bit prefix="test" header="header_nr_scanner.h"
33*30da1778Schristos %option nounput nomain noyywrap noinput
34*30da1778Schristos %option warn
35*30da1778Schristos 
36*30da1778Schristos 
37*30da1778Schristos %%
38*30da1778Schristos 
39*30da1778Schristos .|\n              { }
40*30da1778Schristos 
41*30da1778Schristos %%
42*30da1778Schristos 
43