changeset 28480:888e79a46a85

maint: merge stable to default.
author Rik <rik@octave.org>
date Mon, 15 Jun 2020 13:36:27 -0700
parents 7ea82a190029 (current diff) 5fb8449e4dd0 (diff)
children 98fbb75cd028
files doc/interpreter/strings.txi scripts/help/warning_ids.m
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/strings.txi	Mon Jun 15 08:36:58 2020 -0700
+++ b/doc/interpreter/strings.txi	Mon Jun 15 13:36:27 2020 -0700
@@ -53,7 +53,7 @@
 produces the string whose contents are @samp{foobarbaz}.  @xref{Numeric Data
 Types}, for more information about creating matrices.
 
-While strings can in principal store arbitrary content, most functions expect
+While strings can in principle store arbitrary content, most functions expect
 them to be UTF-8 encoded Unicode strings.
 
 @menu
--- a/scripts/help/warning_ids.m	Mon Jun 15 08:36:58 2020 -0700
+++ b/scripts/help/warning_ids.m	Mon Jun 15 13:36:27 2020 -0700
@@ -139,6 +139,14 @@
 ## By default, the @code{Octave:built-in-variable-assignment} warning is
 ## enabled.
 ##
+## @item Octave:classdef-to-struct
+## If the @code{Octave:classdef-to-struct} warning is enabled, a warning
+## is issued when a classdef object is forcibly converted into a struct with
+## @code{struct (@var{CLASSDEF_OBJ})}.  Conversion removes the access
+## restrictions from the object and makes private and protected properties
+## visible.
+## By default, the @code{Octave:classdef-to-struct} warning is enabled.
+##
 ## @item Octave:colon-complex-argument
 ## If the @code{Octave:colon-complex-argument} warning is enabled, a warning
 ## is issued when one of the three arguments to the colon operator (base,