Wireshark-commits: [Wireshark-commits] master 4fe4405: Protobuf: Enhancements about error message d
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4fe4405bef371e662553a7ae89935120650a70eb
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
4fe4405 by Huang Qiangxiong (qiangxiong.huang@xxxxxx):
Protobuf: Enhancements about error message during loading .proto files
When printing an error message about (1) imported file does not exist
or (2) type is defined duplicated, the loaded .proto filename and line
number are included to ease fixing the errors of .proto file.
Change-Id: I2efc7a200dd86016450bba2bc960f53773bfc2e8
Reviewed-on: https://code.wireshark.org/review/35032
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from f874c5d knxip: Fix Dead Store
add 4fe4405 Protobuf: Enhancements about error message during loading .proto files
Summary of changes:
epan/protobuf_lang.y | 40 +++++++++++++++++++++++++++++++++-------
epan/protobuf_lang_tree.c | 31 +++++++++++++++++++++++--------
epan/protobuf_lang_tree.h | 5 ++++-
3 files changed, 60 insertions(+), 16 deletions(-)