acplex.l (183218) | acplex.l (215704) |
---|---|
1%{ 2/*- 3 * Copyright (c) 2008 Kai Wang 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1%{ 2/*- 3 * Copyright (c) 2008 Kai Wang 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/usr.bin/ar/acplex.l 183218 2008-09-20 22:10:10Z kaiw $"); | 29__FBSDID("$FreeBSD: head/usr.bin/ar/acplex.l 215704 2010-11-22 20:10:48Z brucec $"); |
30 31#include <err.h> 32#include <errno.h> 33#include <stdio.h> 34#include <string.h> 35#include <sysexits.h> 36 37#include "y.tab.h" 38 39#define YY_NO_UNPUT | 30 31#include <err.h> 32#include <errno.h> 33#include <stdio.h> 34#include <string.h> 35#include <sysexits.h> 36 37#include "y.tab.h" 38 39#define YY_NO_UNPUT |
40#define YY_NO_INPUT |
|
40int lineno = 1; 41 42int yylex(void); 43 44%} 45 46%option noyywrap 47 --- 31 unchanged lines hidden --- | 41int lineno = 1; 42 43int yylex(void); 44 45%} 46 47%option noyywrap 48 --- 31 unchanged lines hidden --- |