[Crosstoolchain-logs] [device-tree-compiler] 328/357: Use yylloc instead of yyloc
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:28 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 350c9cce9e559a5609f31fd7229dffbd69d85ff2
Author: David Gibson <david at gibson.dropbear.id.au>
Date: Thu Nov 12 11:14:04 2009 +1100
Use yylloc instead of yyloc
yylloc is the correct way to get token positioning information.
yyloc is a bison internal variable that only works by accident.
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
dtc-parser.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtc-parser.y b/dtc-parser.y
index 4b69c7a..31c14d7 100644
--- a/dtc-parser.y
+++ b/dtc-parser.y
@@ -175,7 +175,7 @@ propdata:
if ($6 != 0)
if (fseek(file->file, $6, SEEK_SET) != 0)
- srcpos_error(&yyloc,
+ srcpos_error(&yylloc,
"Couldn't seek to offset %llu in \"%s\": %s",
(unsigned long long)$6,
$4.val,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list