Mercurial > hg > octave-nkf
comparison src/pt-const.cc @ 10315:57a59eae83cc
untabify src C++ source files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:41:46 -0500 |
parents | cd96d29c5efa |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
10314:07ebe522dac2 | 10315:57a59eae83cc |
---|---|
47 val.print (os, pr_as_read_syntax); | 47 val.print (os, pr_as_read_syntax); |
48 } | 48 } |
49 | 49 |
50 void | 50 void |
51 tree_constant::print_raw (std::ostream& os, bool pr_as_read_syntax, | 51 tree_constant::print_raw (std::ostream& os, bool pr_as_read_syntax, |
52 bool pr_orig_text) | 52 bool pr_orig_text) |
53 { | 53 { |
54 if (pr_orig_text && ! orig_text.empty ()) | 54 if (pr_orig_text && ! orig_text.empty ()) |
55 os << orig_text; | 55 os << orig_text; |
56 else | 56 else |
57 val.print_raw (os, pr_as_read_syntax); | 57 val.print_raw (os, pr_as_read_syntax); |
70 return retval; | 70 return retval; |
71 } | 71 } |
72 | 72 |
73 tree_expression * | 73 tree_expression * |
74 tree_constant::dup (symbol_table::scope_id, | 74 tree_constant::dup (symbol_table::scope_id, |
75 symbol_table::context_id) const | 75 symbol_table::context_id) const |
76 { | 76 { |
77 tree_constant *new_tc | 77 tree_constant *new_tc |
78 = new tree_constant (val, orig_text, line (), column ()); | 78 = new tree_constant (val, orig_text, line (), column ()); |
79 | 79 |
80 new_tc->copy_base (*this); | 80 new_tc->copy_base (*this); |