PERFORCE change 170798 for review
Rafal Jaworowski
raj at FreeBSD.org
Thu Nov 19 10:52:14 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=170798
Change 170798 by raj at 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);
More information about the p4-projects
mailing list