changeset 5225:6434e63553f0

[project @ 2005-03-17 17:53:01 by jwe]
author jwe
date Thu, 17 Mar 2005 17:53:01 +0000
parents 552d7a7a0819
children 316ddaa7ae5b
files doc/interpreter/io.txi src/lex.l
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/io.txi
+++ b/doc/interpreter/io.txi
@@ -119,8 +119,8 @@
 @node Simple File I/O
 @subsection Simple File I/O
 
-@cindex{saving data}
-@cindex{loading data}
+@cindex saving data
+@cindex loading data
 The @code{save} and @code{load} commands allow data to be written to and
 read from disk files in various formats.  The default format of files
 written by the @code{save} command can be controlled using the built-in
--- a/src/lex.l
+++ b/src/lex.l
@@ -215,9 +215,9 @@
 
   std::stack<int> context;
 
-  static const int BRACKET = 1;
-  static const int BRACE = 2;
-  static const int PAREN = 3;
+  static const int BRACKET;
+  static const int BRACE;
+  static const int PAREN;
 
   bracket_brace_paren_nesting_level (const bracket_brace_paren_nesting_level&);
 
@@ -225,6 +225,10 @@
   operator = (const bracket_brace_paren_nesting_level&);
 };
 
+const int bracket_brace_paren_nesting_level::BRACKET = 1;
+const int bracket_brace_paren_nesting_level::BRACE = 2;
+const int bracket_brace_paren_nesting_level::PAREN = 3;
+
 static bracket_brace_paren_nesting_level nesting_level;
 
 static bool Vwarn_matlab_incompatible = false;