[OpenSIPS/opensips] ae3fcd: cfg syntax: Fully implement the 'break' statement

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSIPS/opensips] ae3fcd: cfg syntax: Fully implement the 'break' statement

Răzvan Crainea-3
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ae3fcda3b6971a8925d6ef96d641b0569e9a607e
      https://github.com/OpenSIPS/opensips/commit/ae3fcda3b6971a8925d6ef96d641b0569e9a607e
  Author: Liviu Chircu <[hidden email]>
  Date:   2019-07-27 (Sat, 27 Jul 2019)

  Changed paths:
    M action.c
    M action.h
    M cfg.lex
    M cfg.y
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  cfg syntax: Fully implement the 'break' statement

The opensips.cfg now supports:

    * 'break' under an 'if', within a 'switch' statement (any part)
    * 'break' within a 'while' statement
    * 'break' under an 'if', within a 'while' statement
    * 'break' within a 'for-each' statement
    * 'break' under an 'if', within a 'for-each' statement
    * 'break' from nested 'switch' / 'while' / 'for-each' statements



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel