Mercurial > hg > octave-nkf
view src/octave.gperf @ 7016:93c65f2a5668
[project @ 2007-10-12 06:40:56 by jwe]
author | jwe |
---|---|
date | Fri, 12 Oct 2007 06:41:26 +0000 |
parents | 4fb053f24fd6 |
children | 4270ded9ddc6 |
line wrap: on
line source
%{ enum octave_kw_id { break_kw, case_kw, catch_kw, continue_kw, do_kw, else_kw, elseif_kw, end_kw, end_try_catch_kw, end_unwind_protect_kw, endfor_kw, endfunction_kw, endif_kw, endswitch_kw, endwhile_kw, for_kw, function_kw, global_kw, if_kw, magic_file_kw, magic_line_kw, otherwise_kw, return_kw, static_kw, switch_kw, try_kw, until_kw, unwind_protect_kw, unwind_protect_cleanup_kw, varargin_kw, varargout_kw, while_kw }; %} struct octave_kw { const char *name; int tok; octave_kw_id kw_id; }; %% break, BREAK, break_kw case, CASE, case_kw catch, CATCH, catch_kw continue, CONTINUE, continue_kw do, DO, do_kw else, ELSE, else_kw elseif, ELSEIF, elseif_kw end, END, end_kw end_try_catch, END, end_try_catch_kw end_unwind_protect, END, end_unwind_protect_kw endfor, END, endfor_kw endfunction, END, endfunction_kw endif, END, endif_kw endswitch, END, endswitch_kw endwhile, END, endwhile_kw for, FOR, for_kw function, FCN, function_kw global, GLOBAL, global_kw if, IF, if_kw otherwise, OTHERWISE, otherwise_kw persistent, STATIC, static_kw return, FUNC_RET, return_kw static, STATIC, static_kw switch, SWITCH, switch_kw try, TRY, try_kw until, UNTIL, until_kw unwind_protect, UNWIND, unwind_protect_kw unwind_protect_cleanup, CLEANUP, unwind_protect_cleanup_kw varargin, VARARGIN, varargin_kw varargout, VARARGOUT, varargout_kw while, WHILE, while_kw __FILE__, DQ_STRING, magic_file_kw __LINE__, NUM, magic_line_kw