summaryrefslogtreecommitdiff
path: root/go/forth/forth.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/forth/forth.go')
-rw-r--r--go/forth/forth.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/go/forth/forth.go b/go/forth/forth.go
index c31988d..be39e9f 100644
--- a/go/forth/forth.go
+++ b/go/forth/forth.go
@@ -156,13 +156,15 @@ func compile(dict dictionary, l *lexer) ([]word, error) {
for !l.atEOL() {
v := l.next()
// colon operator, switch to compile mode
+ // FIXME should be a proper word
if v == ":" {
if err := colon(dict, l); err != nil {
return nil, err
}
continue
}
- // semicolon, should be compile only word
+ // semicolon operator
+ // FIXME should be a proper compile only word
if v == ";" {
break
}