view .dir-locals.el @ 17632:bd0a84de3375

further reduce memory leaks from parse errors (bug #40231) * oct-parse.in.yy (colon_expr1): Delete operands on error. (function1, jump_command): No need to check for errors. (expression): Delete simple_expr on error. (return_list): Delete parameter list on error. (octave_base_parser::make_unwind_command, octave_base_parser::make_try_command, octave_base_parser::make_while_command, octave_base_parser::make_for_command, octave_base_parser::finish_if_command, octave_base_parser::finish_switch_command, octave_base_parser::make_index_expression): Delete component parse tree elements on error.
author John W. Eaton <jwe@octave.org>
date Fri, 11 Oct 2013 12:28:26 -0400
parents 9ff04de067ce
children
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))