ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libBASS/make_nodes.c
(Generate patch)

Comparing trunk/OOPSE-1.0/libBASS/make_nodes.c (file contents):
Revision 1347 by gezelter, Fri Jul 16 18:58:03 2004 UTC vs.
Revision 1348 by gezelter, Mon Jul 19 16:47:57 2004 UTC

# Line 86 | Line 86 | struct node_tag* members( char* list_str ){
86  
87   struct node_tag* members( char* list_str ){
88  
89 +  int nTokens, i;
90 +  char *foo;
91 +
92    struct node_tag* the_node;
93    the_node = ( struct node_tag* )malloc( sizeof( node ) );
94    
# Line 95 | Line 98 | struct node_tag* members( char* list_str ){
98    the_node->prev_stmt = NULL;
99    the_node->stmt_list = NULL;
100    
98  int nTokens, i;
99  char *foo;
100
101    nTokens = count_tokens(list_str, " ,;\t");
102  
103    if (nTokens < 1) {
# Line 125 | Line 125 | struct node_tag* constraint( char* list_str ){
125  
126   struct node_tag* constraint( char* list_str ){
127  
128 +  int nTokens;
129 +  char *foo;
130 +
131    struct node_tag* the_node;
132    the_node = ( struct node_tag* )malloc( sizeof( node ) );
133    
# Line 134 | Line 137 | struct node_tag* constraint( char* list_str ){
137    the_node->prev_stmt = NULL;
138    the_node->stmt_list = NULL;
139    
137  int nTokens;
138  char *foo;
139
140    nTokens = count_tokens(list_str, " ,;\t");
141    if (nTokens != 1) {
142      yyerror("wrong number of arguments given in constraint statement");
# Line 154 | Line 154 | struct node_tag* orientation( char* list_str ){
154  
155   struct node_tag* orientation( char* list_str ){
156  
157 +  int nTokens;
158 +  char *foo;
159 +
160    struct node_tag* the_node;
161    the_node = ( struct node_tag* )malloc( sizeof( node ) );
162    
# Line 163 | Line 166 | struct node_tag* orientation( char* list_str ){
166    the_node->prev_stmt = NULL;
167    the_node->stmt_list = NULL;
168  
166  int nTokens;
167  char *foo;
168
169    nTokens = count_tokens(list_str, " ,;\t");
170    if (nTokens != 3) {
171      yyerror("wrong number of arguments given in orientation");
# Line 189 | Line 189 | struct node_tag* position( char* list_str ){
189  
190   struct node_tag* position( char* list_str ){
191  
192 +  int nTokens;
193 +  char *foo;
194 +
195    struct node_tag* the_node;
196    the_node = ( struct node_tag* )malloc( sizeof( node ) );
197    
# Line 198 | Line 201 | struct node_tag* position( char* list_str ){
201    the_node->prev_stmt = NULL;
202    the_node->stmt_list = NULL;
203  
201  int nTokens;
202  char *foo;
203
204    nTokens = count_tokens(list_str, " ,;\t");
205    if (nTokens != 3) {
206      yyerror("wrong number of arguments given in position");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines