aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/hoc
Commit message (Collapse)AuthorAgeFilesLines
* all: remove need for `-fcommon`Dan Cross2025-07-251-1/+1
| | | | | | | | | | Use `extern` where appropriate so that we can remove `-fcommon` on macOS and others. On macOS, `-fcommon` generates a number of linker warnings. I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD and illumos. I am not in a position to test on AIX or other more esoteric platforms, however.
* Trivial changes: whitespace and modes.Dan Cross2020-01-102-5/+5
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* hoc: don't nest calls to follow() when lexing ++/+= and --/-= (#287)deepcube2019-09-191-2/+2
| | | | | | | The code had a nested use of the follow() function that could cause +=+ and -=- to register as ++ and --. The first follow() to execute could consume a character and match and then the second follow() could consume another character and match. For example i-=-10 would result in a syntax error and i-=- would decrement i.
* all: remove .cvsignore filesKare Nuorteva2017-09-141-2/+0
| | | | | | | | | | Rename following .cvsignore files to .gitkeep since they are required by the build (directories must exist before build): - bin/fossil/.gitkeep - bin/fs/.gitkeep - bin/venti/.gitkeep Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
* hoc: print exact floating point outputRuss Cox2007-12-071-2/+2
|
* shut up, gcc!rsc2006-04-202-3/+3
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-1/+1
|
* Goodbye SHORTLIBrsc2005-01-041-1/+0
|
* More cvs turds.wkj2004-06-031-0/+2
|
* clean up when finished.rsc2004-04-191-1/+0
| | | | | don't set PLAN9 don't set PLAN9
* Various tweaks.rsc2004-02-292-3/+18
|
* Small tweaks to make things build again.rsc2004-02-291-1/+1
|
* add hocrsc2003-12-047-0/+1351