comparison libinterp/parse-tree/parse.h @ 16273:c5e5f6ccac5d

9/10 commits reworking the lexer
author John W. Eaton <jwe@octave.org>
date Mon, 11 Mar 2013 14:32:53 -0400
parents 70f465930546
children 3c265e4dba6d 04a7953496a7
comparison
equal deleted inserted replaced
16271:87069bd38107 16273:c5e5f6ccac5d
326 326
327 // Make a declaration command. 327 // Make a declaration command.
328 tree_decl_command * 328 tree_decl_command *
329 make_decl_command (int tok, token *tok_val, tree_decl_init_list *lst); 329 make_decl_command (int tok, token *tok_val, tree_decl_init_list *lst);
330 330
331 // Validate argument list forming a matrix or cell row. 331 // Validate matrix or cell
332 tree_argument_list *validate_matrix_row (tree_argument_list *row); 332 bool validate_array_list (tree_expression *e);
333
334 // Validate matrix object used in "[lhs] = ..." assignments.
335 tree_argument_list *validate_matrix_for_assignment (tree_expression *e);
333 336
334 // Finish building an array_list (common action for finish_matrix 337 // Finish building an array_list (common action for finish_matrix
335 // and finish_cell). 338 // and finish_cell).
336 tree_expression *finish_array_list (tree_array_list *a); 339 tree_expression *finish_array_list (tree_array_list *a);
337 340