1496
|
1 %{ |
|
2 |
|
3 enum octave_kw_id |
|
4 { |
|
5 all_va_args_kw, |
|
6 break_kw, |
|
7 catch_kw, |
|
8 continue_kw, |
|
9 else_kw, |
|
10 elseif_kw, |
|
11 end_kw, |
|
12 end_try_catch_kw, |
|
13 end_unwind_protect_kw, |
|
14 endfor_kw, |
|
15 endfunction_kw, |
|
16 endif_kw, |
|
17 endwhile_kw, |
|
18 for_kw, |
|
19 function_kw, |
|
20 global_kw, |
|
21 gplot_kw, |
|
22 gsplot_kw, |
|
23 if_kw, |
|
24 replot_kw, |
|
25 return_kw, |
|
26 try_kw, |
|
27 unwind_protect_kw, |
|
28 unwind_protect_cleanup_kw, |
|
29 while_kw |
|
30 }; |
|
31 |
|
32 %} |
|
33 struct octave_kw { char *name; int tok; octave_kw_id kw_id; }; |
|
34 %% |
|
35 all_va_args, ALL_VA_ARGS, all_va_args_kw |
|
36 break, BREAK, break_kw |
|
37 catch, CATCH, catch_kw |
|
38 continue, CONTINUE, continue_kw |
|
39 else, ELSE, else_kw |
|
40 elseif, ELSEIF, elseif_kw |
|
41 end, END, end_kw |
|
42 end_try_catch, END, end_try_catch_kw |
|
43 end_unwind_protect, END, end_unwind_protect_kw |
|
44 endfor, END, endfor_kw |
|
45 endfunction, END, endfunction_kw |
|
46 endif, END, endif_kw |
|
47 endwhile, END, endwhile_kw |
|
48 for, FOR, for_kw |
|
49 function, FCN, function_kw |
|
50 global, GLOBAL, global_kw |
|
51 gplot, PLOT, gplot_kw |
|
52 gsplot, PLOT, gsplot_kw |
|
53 if, IF, if_kw |
|
54 replot, PLOT, replot_kw |
|
55 return, FUNC_RET, return_kw |
|
56 try, TRY, try_kw |
|
57 unwind_protect, UNWIND, unwind_protect_kw |
|
58 unwind_protect_cleanup, CLEANUP, unwind_protect_cleanup_kw |
|
59 while, WHILE, while_kw |