acplex.l (250227) | acplex.l (250926) |
---|---|
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 250227 2013-05-03 23:51:32Z jkim $"); | 29__FBSDID("$FreeBSD: head/usr.bin/ar/acplex.l 250926 2013-05-23 05:42:35Z jkim $"); |
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 39int lineno = 1; 40 41int yylex(void); 42 | 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 39int lineno = 1; 40 41int yylex(void); 42 |
43#define YY_DECL int yylex(void) 44 |
|
43%} 44 45%option nounput 46%option noinput 47%option noyywrap 48 49%% 50 --- 29 unchanged lines hidden --- | 45%} 46 47%option nounput 48%option noinput 49%option noyywrap 50 51%% 52 --- 29 unchanged lines hidden --- |