add todo bug found when talking with Jorge

This commit is contained in:
NunoSempere 2024-11-19 19:43:45 +00:00
parent c3f03d97b0
commit 4b21612d55
2 changed files with 2 additions and 1 deletions

View File

@ -196,6 +196,7 @@ Done:
To (possibly) do:
- [ ] Fix lognormal multiplication and division by 0 or < 0
- [ ] Consider adding an understanding of percentages
- [ ] With the -f command line option, the program doesn't read from stdin after finishing reading the file
- [ ] Add functions. Now easier to do with an explicit representation of the stakc

View File

@ -404,7 +404,7 @@ replForLoop:
for {
new_line, _ := reader.ReadString('\n')
if *echo_flag {
fmt.Printf(new_line)
fmt.Print(new_line)
}
new_line_before_comments, _, _ := strings.Cut(new_line, "#")
new_line_trimmed := strings.TrimSpace(new_line_before_comments)