Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-01-13 | cmd/yacc: correctly detect end of file in gettok | Neven Sajko | 1 | -0/+2 | |
This prevents an infinite loop. Change-Id: I7eda6b9d032ca0daeb24b555954330d07f35c78b | |||||
2020-01-13 | cmd/yacc: check that arg is safe to pass to <ctype.h> isX functions | Neven Sajko | 1 | -5/+14 | |
The functions from <ctype.h> require that their argument be representable as an unsigned char, anything else is an error. Change-Id: I9dafc49c431b7a2550b041603f27bac3c0010eea | |||||
2020-01-13 | cmd/yacc: check for EOF in string constant in cpyact | Neven Sajko | 1 | -1/+1 | |
Change-Id: I3b41ab3f181080bcff89201d30f0bdf8aa20d55c | |||||
2020-01-13 | cmd/yacc: do not create an out of bounds pointer | Neven Sajko | 1 | -1/+2 | |
An out of bounds pointer/array index being created is an error in standard C. Updates #313 Change-Id: I7108fcde1a8e03017e9ab852adb737940489c827 | |||||
2017-04-21 | yacc: Fix a bug from at least 1995. | Dan Cross | 1 | -1/+2 | |
Fix a bug folding newlines in strings constants in C code snippets in YACC. This code has existed since at least 2nd Edition Plan 9. Change-Id: Iba17b89a6529ac9fa6610bf0b44f551904174c26 Signed-off-by: Dan Cross <cross@gajendra.net> Reviewed-on: https://plan9port-review.googlesource.com/2840 Reviewed-by: Russ Cox <rsc@swtch.com> | |||||
2007-01-29 | write YYARG def to ftable (fdefine might be null, and is not the right place ↵ | rsc | 1 | -1/+1 | |
anyway) | |||||
2006-04-01 | Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. | rsc | 1 | -1/+1 | |
2005-02-14 | Reduce the differences between yaccpar and yaccpars. | wkj | 1 | -18/+53 | |
Add support for passing an argument through yyparse to yylex. | |||||
2005-01-14 | fix unsharp | rsc | 1 | -4/+7 | |
2005-01-13 | forgotten files | rsc | 1 | -0/+2942 | |
2004-04-21 | new stuff. | rsc | 1 | -2939/+0 | |
2004-03-25 | Today's changes. | rsc | 1 | -1/+1 | |
More changes. | |||||
2004-02-29 | Various tweaks. | rsc | 1 | -1/+1 | |
2003-12-11 | Add support for user-level 9P servers/clients and various bug fixes to go ↵ | rsc | 1 | -14/+5 | |
with them. | |||||
2003-12-04 | add hoc | rsc | 1 | -5/+14 | |
2003-11-23 | new utilities. | rsc | 1 | -0/+2939 | |
the .C files compile but are renamed to avoid building automatically. |