[OpenSIPS-Devel] [OpenSIPS/opensips] b2c7ab: Improve reporting for config file parsing errors

Liviu Chircu noreply at github.com
Fri Mar 1 04:16:29 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b2c7ab2c7e8c57454ffab981b69ef1308ed27b2f
      https://github.com/OpenSIPS/opensips/commit/b2c7ab2c7e8c57454ffab981b69ef1308ed27b2f
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M cfg.y
    M cfg_pp.c
    M cfg_pp.h

  Log Message:
  -----------
  Improve reporting for config file parsing errors

    * print, if possible, two lines above the line which errored
    * highlight the incorrect syntax / tokens / etc.
    * print, if possible, two lines below the line which errored





More information about the Devel mailing list