Allows for assertions which can be enabled or disabled for easier script 
debugging.

Usage:

````
    assert($var(foo) == 42, "Whoops, var(foo) wasn't equal to 
42");
````
You can merge this Pull Request by running:

  git pull https://github.com/dsanders11/opensips master

Or you can view, comment on it, or merge it online at:

  https://github.com/OpenSIPS/opensips/pull/313

-- Commit Summary --

  * New assert script keyword for script debugging

-- File Changes --

    M action.c (25)
    M cfg.lex (6)
    M cfg.y (8)
    M errinfo.h (1)
    M globals.h (3)
    M main.c (4)
    M route_struct.c (3)
    M route_struct.h (2)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/313.patch
https://github.com/OpenSIPS/opensips/pull/313.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/313
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to