Added documentation comment
This commit is contained in:
parent
2dbd22114b
commit
83e7b6505c
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue