~ubuntu-branches/ubuntu/quantal/texmacs/quantal

« back to all changes in this revision

Viewing changes to src/Kernel/Types/modification.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Atsuhito KOHDA
  • Date: 2010-04-23 07:09:40 UTC
  • mfrom: (4.1.8 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100423070940-72mjdmdepfgrvo8f
Tags: 1:1.0.7.4-2
Re-upload, former upload failed with wrong diff.gz perhaps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
  return m1->k != m2->k || m1->p != m2->p || m1->t != m2->t;
26
26
}
27
27
 
28
 
ostream&
29
 
operator << (ostream& out, modification mod) {
 
28
tm_ostream&
 
29
operator << (tm_ostream& out, modification mod) {
30
30
  switch (mod->k) {
31
31
  case MOD_ASSIGN:
32
32
    return out << "assign (" << root (mod)
158
158
 
159
159
bool
160
160
can_assign_node (tree t, path p, tree_label op) {
 
161
  (void) op;
161
162
  return has_subtree (t, p) && is_compound (subtree (t, p));
162
163
}
163
164