From owner-p4-projects@FreeBSD.ORG Thu Nov 19 10:52:14 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 422AD1065679; Thu, 19 Nov 2009 10:52:14 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CAE106566B for ; Thu, 19 Nov 2009 10:52:14 +0000 (UTC) (envelope-from raj@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E6D448FC13 for ; Thu, 19 Nov 2009 10:52:13 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAJAqD2b075439 for ; Thu, 19 Nov 2009 10:52:13 GMT (envelope-from raj@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAJAqDE0075437 for perforce@freebsd.org; Thu, 19 Nov 2009 10:52:13 GMT (envelope-from raj@freebsd.org) Date: Thu, 19 Nov 2009 10:52:13 GMT Message-Id: <200911191052.nAJAqDE0075437@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to raj@freebsd.org using -f From: Rafal Jaworowski To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 170798 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 10:52:14 -0000 http://p4web.freebsd.org/chv.cgi?CH=170798 Change 170798 by raj@raj_fdt on 2009/11/19 10:51:37 Make dtc compile with yacc (which is in BSD base) and not only bison. Affected files ... .. //depot/projects/fdt/sys/contrib/dtc/dtc-lexer.l#2 edit .. //depot/projects/fdt/sys/contrib/dtc/dtc-parser.y#2 edit Differences ... ==== //depot/projects/fdt/sys/contrib/dtc/dtc-lexer.l#2 (text+ko) ==== @@ -38,6 +38,8 @@ #include "srcpos.h" #include "dtc-parser.tab.h" +YYLTYPE yylloc; + #define YY_USER_ACTION \ { \ yylloc.file = srcpos_file; \ ==== //depot/projects/fdt/sys/contrib/dtc/dtc-parser.y#2 (text+ko) ==== @@ -18,14 +18,14 @@ * USA */ -%locations - %{ #include #include "dtc.h" #include "srcpos.h" +YYLTYPE yylloc; + extern int yylex(void); extern void yyerror(char const *s);