]> granicus.if.org Git - nethack/commit
finish implementing pmatchregex
authorPatR <rankin@nethack.org>
Tue, 16 Jun 2015 09:29:22 +0000 (02:29 -0700)
committerPatR <rankin@nethack.org>
Tue, 16 Jun 2015 09:29:22 +0000 (02:29 -0700)
commit1547e676f345030d18d3b2d4d36c10318b24cb7d
tree0287b5ba02e25236d48d7ec383f67ddbd74c4716
parent666e4976b550bbb1d7926739e2d440c5aef0935e
finish implementing pmatchregex

I started out cleaning up a bit of lint in the recent run-time options
handling and discovered that pmatchregex wasn't finished.  Finish it and
also deal with the version lint.  Argument declarations for function
definitions in pmatchregex.c have been switched to K&R style.  (The ones
in posixregex.c have been left in ANSI style.)

There wasn't any build rule for pmatchregex.o; now there is (for Unix).
posixregex.o is still the default.

There isn't any build rule for cppregex.o (again, for Unix); the change
to cppregex.cpp is untested.
src/version.c
sys/share/cppregex.cpp
sys/share/pmatchregex.c
sys/share/posixregex.c
sys/unix/Makefile.src