dh83/trex — Issue #7: Initialization problem for bibtex
Author: cdlm
Created: 2012-01-08 00:48:29+00:00
State: open

The test file gives this:

```
$ trex
~/bin/trex:532:in `add_error': undefined method `state' for nil:NilClass (NoMethodError)
from /Users/damien/bin/trex:513:in `handle'
from /Users/damien/bin/trex:177:in `bibtex'
from /Users/damien/bin/trex:147:in `compile'
from /Users/damien/bin/trex:328:in `process_command'
from /Users/damien/bin/trex:108:in `run'
from /Users/damien/bin/trex:903:in `

'
```

Looks like all `TexWarning`s expct to have a `@filestate`, but none is passed to `warning` on lines 176–177.