mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
bool literals, fixes
This commit is contained in:
parent
b1aff1935d
commit
d31979166e
24 changed files with 179 additions and 46 deletions
|
|
@ -10,13 +10,13 @@ inline void PrintPosition(std::ostream& out,
|
|||
std::pair<size_t, size_t> start_position,
|
||||
std::pair<size_t, size_t> end_position) {
|
||||
out << '['
|
||||
<< start_position.first
|
||||
<< start_position.first + 1
|
||||
<< ", "
|
||||
<< start_position.second
|
||||
<< start_position.second + 1
|
||||
<< "] - ["
|
||||
<< end_position.first
|
||||
<< end_position.first + 1
|
||||
<< ", "
|
||||
<< end_position.second
|
||||
<< end_position.second + 1
|
||||
<< ']';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue