]> git.armaanb.net Git - opendoas.git/commit
Further improve syntax error reporting in doas:
authorVadim Zhukov <zhuk@openbsd.org>
Fri, 24 Jul 2015 06:36:42 +0000 (06:36 +0000)
committerVadim Zhukov <zhuk@openbsd.org>
Fri, 24 Jul 2015 06:36:42 +0000 (06:36 +0000)
commitedf4632491d75d7e56c5293de3c33dc2de74231d
tree55309fe4f5088e3442d1ce947a68aeaa96e76aee
parentf45bae9626d4c8eac50ee347a28fec29bffd92ff
Further improve syntax error reporting in doas:

  - teach parser to recover after error, allowing to report many errors
    instead of the first one only;
  - fix remaining error printouts without exact position.

Some ideas were taken from diff sent by dlg@ earlier, thanks!

okay tedu@, dlg@
doas.c
doas.h
parse.y