mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
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@gibson.dropbear.id.au>
This commit is contained in:
parent
c623fe5c21
commit
350c9cce9e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue