diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2009-11-12 11:14:04 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2009-11-11 21:36:30 -0600 |
commit | 350c9cce9e559a5609f31fd7229dffbd69d85ff2 (patch) | |
tree | e74b89d01fd690711caae432563cb9bd3f04b70f /dtc-parser.y | |
parent | c623fe5c21e0358fc38a4e8ddb0d51379f0733e8 (diff) | |
download | dtc-350c9cce9e559a5609f31fd7229dffbd69d85ff2.tar.gz |
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>
Diffstat (limited to 'dtc-parser.y')
-rw-r--r-- | dtc-parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
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, |