Mercurial > hg > octave-nkf
view scripts/startup/inputrc @ 18126:d76f790b4eec gui-release
enable do_braindead_shortcircuit_evaluation by default and deprecate
* octave.cc (maximum_braindamage): Don't call
Fdo_brainded_shortcircuit_evaluation.
* pt-exp.h (tree_expression::mark_braindead_shortcircuit): Eliminate
file name argument.
* pt-binop.h, pt-binop.cc
(tree_binary_expression::mark_braindead_shortcircuit): Likewise.
* oct-parse.in.yy (if_cmd_list1, elseif_clause, loop_command):
Eliminate argument from call to mark_braindead_shortcircuit.
* pt-binop.h, pt-binop.cc (Vdo_braindead_shortcircuit_evaluation):
Initialize to true.
(tree_binary_expression::matlab_style_short_circuit_warning): New function.
(tree_binary_expression::rvalue1): Call
matlab_style_short_circuit_warning if short circuit evaluation occurs.
(Fdo_braindead_shortcircuit_evaluation): Display deprecated warning.
Delete tests for do_braindead_shortcircuit_evaluation.
(tree_binary_expression::braindead_shortcircuit_warning_issued): New
member variable.
* NEWS: Mention change in default value and deprecated function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Dec 2013 20:51:22 -0500 |
parents | 18d3c1b981e7 |
children | 3ed674758e0d 446c46af4b42 |
line wrap: on
line source
## This file configures the behavior of line-input editing for all ## Octave users when Octave is configured to use GNU Readline library ## for input-line editing. ## history-search-backward: ## ## Search backward through the history for the string of characters ## between the start of the current line and the point. This is a ## non-incremental search. Bound to "\e[A", the ANSI escape ## sequence for the UP arrow. "\e[A": history-search-backward ## history-search-forward: ## ## Search forward through the history for the string of characters ## between the start of the current line and the point. This is a ## non-incremental search. Bound to "\e[B", the ANSI escape ## sequence for the DOWN arrow. "\e[B": history-search-forward ## Disable so the usual paste shortcut will work on Windows systems. ## \C-q should still be available for quoted insert. "\C-v": ""