Mercurial > hg > octave-lyh
comparison doc/interpreter/grammar.txi @ 11446:67e3edbf8ff7
Update list of keywords in Grammar chapter of documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Wed, 05 Jan 2011 20:22:12 -0800 |
parents | fd42779a8428 |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
11445:40f311a69417 | 11446:67e3edbf8ff7 |
---|---|
34 | 34 |
35 The following identifiers are keywords, and may not be used as variable | 35 The following identifiers are keywords, and may not be used as variable |
36 or function names: | 36 or function names: |
37 | 37 |
38 @multitable @columnfractions .33 .33 .33 | 38 @multitable @columnfractions .33 .33 .33 |
39 @item @code{break} @tab @code{case} @tab @code{catch} | 39 @item @code{__FILE__} @tab @code{__LINE__} @tab @code{break} |
40 @item @code{case} @tab @code{catch} @tab @code{classdef} | |
40 @item @code{continue} @tab @code{do} @tab @code{else} | 41 @item @code{continue} @tab @code{do} @tab @code{else} |
41 @item @code{elseif} @tab @code{end} @tab @code{end_try_catch} | 42 @item @code{elseif} @tab @code{end} @tab @code{end_try_catch} |
42 @item @code{end_unwind_protect} @tab @code{endfor} @tab @code{endfunction} | 43 @item @code{end_unwind_protect} @tab @code{endclassdef} @tab @code{endevents} |
43 @item @code{endif} @tab @code{endswitch} @tab @code{endwhile} | 44 @item @code{endfor} @tab @code{endfunction} @tab @code{endif} |
44 @item @code{for} @tab @code{function} @tab @code{global} | 45 @item @code{endmethods} @tab @code{endproperties} @tab @code{endswitch} |
45 @item @code{if} @tab @code{otherwise} @tab @code{persistent} | 46 @item @code{endwhile} @tab @code{events} @tab @code{for} |
46 @item @code{return} @tab @code{static} @tab @code{switch} | 47 @item @code{function} @tab @code{get} @tab @code{global} |
48 @item @code{if} @tab @code{methods} @tab @code{otherwise} | |
49 @item @code{persistent} @tab @code{properties} @tab @code{return} | |
50 @item @code{set} @tab @code{static} @tab @code{switch} | |
47 @item @code{try} @tab @code{until} @tab @code{unwind_protect} | 51 @item @code{try} @tab @code{until} @tab @code{unwind_protect} |
48 @item @code{unwind_protect_cleanup} @tab @code{varargin} @tab @code{varargout} | 52 @item @code{unwind_protect_cleanup}@tab @code{while} |
49 @item @code{while} @tab @code{__FILE__} @tab @code{__LINE__} | |
50 @end multitable | 53 @end multitable |
51 | 54 |
52 @DOCSTRING(iskeyword) | 55 @DOCSTRING(iskeyword) |