Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Discard any part of a line of input that goes beyond our buffer rather | jsm | 2000-09-24 | 1 | -2/+8 |
| | | | than treating it as our next line of input. From OpenBSD. | ||||
* | Various improvements to parsing in battlestar, mostly from OpenBSD. | jsm | 2000-09-21 | 1 | -10/+24 |
| | | | | | | | | | | | | | | | | | | | | Define a constant WORDLEN. Always use this constant and NWORD where appropriate. Use NWORD - 1 in battlestar.c to avoid off-by-one error. Increment wordnumber after the INVEN verb to allow it to be followed by a comma and other actions. Avoid overflowing elements of the words array if input words are too long. Parse "," as AND except when followed by a verb, to allow such constructions as "take foo, bar, and baz". Trim AND AND which may occur from the ", and" in such a list. Avoid crashes from EVERYTHING in the wrong place by moving it to the start of OBJECT AND EVERYTHING and NOUNS AND EVERYTHING sequences, and trimming EVERYTHING AND EVERYTHING. | ||||
* | die() on EOF; based on OpenBSD. | jsm | 2000-09-21 | 1 | -2/+4 |
| | |||||
* | Clean up formatting; partly from OpenBSD. | jsm | 2000-09-17 | 1 | -9/+8 |
| | |||||
* | Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk> | hubertf | 1999-02-10 | 1 | -3/+3 |
| | |||||
* | KNFify (with indent) | lukem | 1997-10-11 | 1 | -16/+17 |
| | |||||
* | WARNSify | lukem | 1997-10-10 | 1 | -6/+6 |
| | |||||
* | clean up import | cgd | 1995-03-21 | 1 | -4/+9 |
| | |||||
* | Add RCS identifiers. | mycroft | 1993-08-01 | 1 | -1/+2 |
| | |||||
* | initial import of 386bsd-0.1 sources | cgd | 1993-03-21 | 1 | -0/+99 |