anneli/golex — Issue #18: Unpredictable behaviour when no final rule exists/no second '%%'
Author: anneli
Created: 2011-12-30 22:27:04+00:00
State: open

```	package main
import "fmt"

%%

a	fmt.Printf("got 'a'\n")
b	fmt.Printf("got 'b'\n")
c	fmt.Printf("got 'c'\n")```

The `c` rule is ignored; we probably just need to make sure we write out any pending rule on EOF.