Date: Thu, 19 Nov 2009 10:52:13 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 170798 for review Message-ID: <200911191052.nAJAqDE0075437@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <stdio.h> #include "dtc.h" #include "srcpos.h" +YYLTYPE yylloc; + extern int yylex(void); extern void yyerror(char const *s);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911191052.nAJAqDE0075437>