diff --git a/CHANGELOG.md b/CHANGELOG.md index ca2ce23..06bb7aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Removed `` chord notation like `c47` meaning c-major - Removed obsolete documentation +- `h` as note literal ## [0.2.1] - 2022-10-21 diff --git a/musique/lexer/lexer.cc b/musique/lexer/lexer.cc index 6d31517..be90fc5 100644 --- a/musique/lexer/lexer.cc +++ b/musique/lexer/lexer.cc @@ -4,7 +4,7 @@ #include #include -constexpr std::string_view Notes_Symbols = "abcedefghp"; +constexpr std::string_view Notes_Symbols = "abcedefgp"; constexpr std::string_view Valid_Operator_Chars = "+-*/:%" // arithmetic "|&^" // logic & bit operations diff --git a/musique/value/note.cc b/musique/value/note.cc index 632b6fe..39f2a8f 100644 --- a/musique/value/note.cc +++ b/musique/value/note.cc @@ -12,7 +12,6 @@ constexpr u8 note_index(u8 note) case 'f': return 5; case 'g': return 7; case 'a': return 9; - case 'h': return 11; case 'b': return 11; } // Parser should limit range of characters that is called with this function