nsparser.y (248aee623cc3e95cadc710fe1668269b841e171b) | nsparser.y (70982dca889ffc7a2399c98cf27f5c3ec26647e1) |
---|---|
1%{ 2/* $NetBSD: nsparser.y,v 1.3 1999/01/25 00:16:18 lukem Exp $ */ 3 4/*- 5 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 73 unchanged lines hidden (view full) --- 82 83Entry 84 : NL 85 | Database ':' NL 86 | Database ':' Srclist NL 87 { 88 _nsdbtput(&curdbt); 89 } | 1%{ 2/* $NetBSD: nsparser.y,v 1.3 1999/01/25 00:16:18 lukem Exp $ */ 3 4/*- 5 * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 73 unchanged lines hidden (view full) --- 82 83Entry 84 : NL 85 | Database ':' NL 86 | Database ':' Srclist NL 87 { 88 _nsdbtput(&curdbt); 89 } |
90 | error NL 91 { 92 yyerrok; 93 } |
|
90 ; 91 92Database 93 : STRING 94 { 95 curdbt.name = yylval.str; 96 curdbt.srclist = NULL; 97 curdbt.srclistsize = 0; --- 78 unchanged lines hidden --- | 94 ; 95 96Database 97 : STRING 98 { 99 curdbt.name = yylval.str; 100 curdbt.srclist = NULL; 101 curdbt.srclistsize = 0; --- 78 unchanged lines hidden --- |