[OpenSIPS-Devel] [OpenSIPS/opensips] 4b33da: lexer: Fix multi-line string parsing

Liviu Chircu noreply at github.com
Sat Apr 20 04:34:31 EDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4b33da67ffd0f1a5b2507939ee0cf440e9ba00f9
      https://github.com/OpenSIPS/opensips/commit/4b33da67ffd0f1a5b2507939ee0cf440e9ba00f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-04-20 (Sat, 20 Apr 2019)

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

  Log Message:
  -----------
  lexer: Fix multi-line string parsing

Multi-line strings were broken by the generic preprocessing support, as
both double and single quoted strings have their own lexing rules, which
take precedence over the "consume preprocessor tokens" lexer rule.

Reported by Dan Pascu





More information about the Devel mailing list