Skip to content

Commit a20ef11

Browse files
author
Bastian Bechtold
committed
bugfix for script files (typo)
1 parent 50210ee commit a20ef11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

check.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ function print_class_stats(class_stats, indentation)
220220
script_stats.num_variables = length(script_struct.variables);
221221

222222
% max indentation
223-
keyword_indices = strcmp({func_struct.body.type}, 'keyword');
224-
keywords = func_struct.body(keyword_indices);
223+
keyword_indices = strcmp({script_struct.body.type}, 'keyword');
224+
keywords = script_struct.body(keyword_indices);
225225
indentation = 1;
226226
max_indentation = 0;
227227
for keyword = keywords

0 commit comments

Comments
 (0)