Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning fixes #8

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

eriktorbjorn
Copy link

This fixes most - not all - of the warnings produced by ZILF 0.9. I think this is a good idea, because otherwise warnings and errors tend to get lost in the noise.

The remaining warnings are:

[warning MDL0417] main.zil:263: ROUTINE: only 3 routine arguments allowed in V3, so last 1 "OPT" argument will never be passed
  in INSERT-FILE called at witness.zil:10
[warning ZIL0202] people.zil:73: mentioned object 'DRIVEWAY-GATE' is never defined
[warning ZIL0502] verbs.zil:493: RETURN value ignored: PROG/REPEAT block is in void context
[warning ZIL0505] people.zil:431: COND: clauses after else part will never be evaluated
[warning ZIL0308] <top level>: too many parts of speech for 'PHONE': Adjective (things.zil:937), Object (things.zil:756), Verb (syntax.zil:99)
[warning ZIL0306] things.zil:937: discarding the Adjective part of speech for 'PHONE'

DRIVEWAY-GATE should probably be DRIVEWAY-ENTRANCE.

@eriktorbjorn
Copy link
Author

The COND warning is actually pointing to a bug in the game. See #45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant