comparison src/parse.h @ 1826:b14829582cc4

[project @ 1996-02-02 03:05:07 by jwe]
author jwe
date Fri, 02 Feb 1996 03:07:27 +0000
parents 4100e0cb00a1
children 7d2982b55242
comparison
equal deleted inserted replaced
1825:8219d9b7cb73 1826:b14829582cc4
35 class tree; 35 class tree;
36 class tree_matrix; 36 class tree_matrix;
37 class tree_identifier; 37 class tree_identifier;
38 class symbol_table; 38 class symbol_table;
39 39
40 // Nonzero means we're in the middle of defining a function.
41 extern int defining_func;
42
43 // Nonzero means we're in the middle of defining a loop.
44 extern int looping;
45
46 // Nonzero means we're in the middle of defining a conditional expression.
47 extern int iffing;
48
49 // Nonzero means we need to do some extra lookahead to avoid being
50 // screwed by bogus function syntax.
51 extern int maybe_screwed;
52
53 // Nonzero means we need to do some extra lookahead to avoid being
54 // screwed by bogus function syntax.
55 extern int maybe_screwed_again;
56
57 // Temporary symbol table pointer used to cope with bogus function syntax. 40 // Temporary symbol table pointer used to cope with bogus function syntax.
58 extern symbol_table *tmp_local_sym_tab; 41 extern symbol_table *tmp_local_sym_tab;
59 42
60 // Stack to hold list of literal matrices. 43 // Stack to hold list of literal matrices.
61 extern SLStack <tree_matrix *> ml; 44 extern SLStack <tree_matrix *> ml;
75 extern int current_input_column; 58 extern int current_input_column;
76 59
77 // Buffer for help text snagged from function files. 60 // Buffer for help text snagged from function files.
78 extern string help_buf; 61 extern string help_buf;
79 62
80 // Nonzero means we're working on a plot command.
81 extern int plotting;
82
83 // Nonzero means we've seen something that means we must be past the
84 // range part of a plot command.
85 extern int past_plot_range;
86
87 // Nonzero means we're looking at the range part of a plot command.
88 extern int in_plot_range;
89
90 // Nonzero means we're looking at the using part of a plot command.
91 extern int in_plot_using;
92
93 // Nonzero means we're looking at the style part of a plot command.
94 extern int in_plot_style;
95
96 // Nonzero means we're looking at an indirect reference to a structure
97 // element.
98 extern int looking_at_indirect_ref;
99
100 #endif 63 #endif
101 64
102 /* 65 /*
103 ;;; Local Variables: *** 66 ;;; Local Variables: ***
104 ;;; mode: C++ *** 67 ;;; mode: C++ ***