summaryrefslogtreecommitdiff
path: root/c758a54f7dc56875eb95e410d6695e76aab6fa29:
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-05-08 15:27:54 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-06-10 15:54:40 +0200
commitcfc025ce9f94a729e8fe9cc16466db288cd201da (patch)
tree88eca62421373acc0fabf66632bfdf34cb48515d /c758a54f7dc56875eb95e410d6695e76aab6fa29:
parentc758a54f7dc56875eb95e410d6695e76aab6fa29 (diff)
Print parser position on error
Most parser functions take a **endp argument to indicate the caller where parsing has stopped. This is currently only used after parsing something successfully. This patch sets **endp to the erroneous position in the error case and prints its position after an error has occured. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [Remove endp NULL checks spread around the code] Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'c758a54f7dc56875eb95e410d6695e76aab6fa29:')
0 files changed, 0 insertions, 0 deletions