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

Liviu Chircu noreply at github.com
Fri Jul 26 18:41:22 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ae3fcda3b6971a8925d6ef96d641b0569e9a607e
      https://github.com/OpenSIPS/opensips/commit/ae3fcda3b6971a8925d6ef96d641b0569e9a607e
  Author: Liviu Chircu <liviu at opensips.org>
  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





More information about the Devel mailing list