Added documentation comment

This commit is contained in:
Julien Dessaux 2021-12-04 00:10:30 +01:00
parent 2dbd22114b
commit 83e7b6505c

View file

@ -5,6 +5,9 @@ import (
"os" "os"
) )
// We keep the last input char to handle a pain point in the funge-98 spec :
// when reading from the decimal input you need to read until you encounter a
// non numeric char, but not drop it
var defaultInputLastChar *int = nil var defaultInputLastChar *int = nil
func DefaultCharacterInput() (int, error) { func DefaultCharacterInput() (int, error) {