Mercurial > hg > octave-lyh
comparison src/pt-fcn-handle.cc @ 11586:12df7854fa7c
strip trailing whitespace from source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:24:59 -0500 |
parents | fd0a3ac60b0e |
children | ad9263d965dc |
comparison
equal
deleted
inserted
replaced
11585:1473d0cf86d2 | 11586:12df7854fa7c |
---|---|
42 print_raw (os, pr_as_read_syntax, pr_orig_text); | 42 print_raw (os, pr_as_read_syntax, pr_orig_text); |
43 } | 43 } |
44 | 44 |
45 void | 45 void |
46 tree_fcn_handle::print_raw (std::ostream& os, bool pr_as_read_syntax, | 46 tree_fcn_handle::print_raw (std::ostream& os, bool pr_as_read_syntax, |
47 bool pr_orig_text) | 47 bool pr_orig_text) |
48 { | 48 { |
49 os << ((pr_as_read_syntax || pr_orig_text) ? "@" : "") << nm; | 49 os << ((pr_as_read_syntax || pr_orig_text) ? "@" : "") << nm; |
50 } | 50 } |
51 | 51 |
52 octave_value | 52 octave_value |
120 | 120 |
121 symbol_table::scope_id parent_scope = curr_fcn->parent_fcn_scope (); | 121 symbol_table::scope_id parent_scope = curr_fcn->parent_fcn_scope (); |
122 | 122 |
123 if (parent_scope < 0) | 123 if (parent_scope < 0) |
124 parent_scope = curr_fcn->scope (); | 124 parent_scope = curr_fcn->scope (); |
125 | 125 |
126 uf->stash_parent_fcn_scope (parent_scope); | 126 uf->stash_parent_fcn_scope (parent_scope); |
127 } | 127 } |
128 | 128 |
129 uf->mark_as_inline_function (); | 129 uf->mark_as_inline_function (); |
130 | 130 |