summaryrefslogtreecommitdiff
path: root/note.cc
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>1996-10-29 00:49:49 +0100
committerHan-Wen Nienhuys <hanwen@xs4all.nl>1996-10-29 00:49:49 +0100
commit4fac7cb7f554ad08c06225c985c7ddbcee1006dc (patch)
tree09114152c9f6651f599c5370789ce2ff33282155 /note.cc
parent727cdcbadf23c1986b0aed547aa645c9813f351b (diff)
release: 0.0.3
Diffstat (limited to 'note.cc')
-rw-r--r--note.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/note.cc b/note.cc
index 538f26a28e..c51e3c33af 100644
--- a/note.cc
+++ b/note.cc
@@ -27,8 +27,8 @@ parse_duration(const char *a, int &j, int &intdur, int &dots)
intdur = (durstr.len()) ?
durstr.value():default_duration;
- if (debug_flags & DEBUGTOKEN)
- mtor << "dur " << intdur << "dots " << dots<<eol;
+
+ mtor << "dur " << intdur << "dots " << dots<<eol;
}
@@ -37,7 +37,7 @@ parse_pitch( const char *a, int &j, int &oct, bool & overide_acc,
int & large, int & small)
{
// octave
- oct =0;
+ oct =0;
while (1)
{
@@ -50,7 +50,8 @@ parse_pitch( const char *a, int &j, int &oct, bool & overide_acc,
j++;
}
- if (debug_flags & DEBUGTOKEN) mtor << "oct " << oct;
+
+ mtor << "oct " << oct;
// accidental
overide_acc = false;
@@ -61,8 +62,8 @@ parse_pitch( const char *a, int &j, int &oct, bool & overide_acc,
j++;
}
- if (debug_flags & DEBUGTOKEN)
- mtor << "ov " << overide_acc;
+
+ mtor << "ov " << overide_acc;
// notename.
String nm;
@@ -77,9 +78,8 @@ parse_pitch( const char *a, int &j, int &oct, bool & overide_acc,
}
- lookup_notename(large,small,nm);
- if (debug_flags & DEBUGTOKEN)
- mtor << "int "<< large <<" "<<small<<" ";
+ lookup_notename(large,small,nm);
+ mtor << "int "<< large <<" "<<small<<" ";
}