Removed h note literal

This commit is contained in:
Robert Bendun 2022-11-11 19:35:07 +01:00
parent 268455532b
commit a262a643e9
3 changed files with 2 additions and 2 deletions

View File

@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Removed `<note><absolute notes indexes>` chord notation like `c47` meaning c-major
- Removed obsolete documentation
- `h` as note literal
## [0.2.1] - 2022-10-21

View File

@ -4,7 +4,7 @@
#include <iomanip>
#include <cstring>
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

View File

@ -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