Commit Graph

37 Commits

Author SHA1 Message Date
christos
f6295e9141 PR/50914: David Binderman: Fix memory leaks.
While here, fix error handling too.
2016-03-08 20:13:44 +00:00
christos
6e28978d84 fix unused variable warnings 2013-10-18 20:47:06 +00:00
joerg
12da85b5f0 static + __dead 2011-09-01 13:37:33 +00:00
eeh
5173fff056 Some bugfixes and enhancements. Support for case .. of and fix calculation
of branch offsets.
2010-02-08 20:14:55 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos
926a7cc331 option noinput 2009-10-29 14:35:25 +00:00
snj
4968c04d96 Move Eduardo Horvath's license to 2 clause. OK eeh@. 2009-10-19 18:12:37 +00:00
lukem
d5c1a211ce Fix WARNS=4 issues (-Wshadow, -Wcast-qual, -Wsign-compare, etc) 2009-04-12 03:35:43 +00:00
lukem
bc44ec3e93 add missing commas in initializer for .d and .h macros,
which appear to have broken the intended behavior of those.
2009-04-12 03:15:35 +00:00
lukem
77e8a794aa ANSI KNF 2009-04-12 03:13:09 +00:00
christos
ebd63cb6e2 Coverity CID 1748: Free alias on error. 2006-04-22 17:51:09 +00:00
wiz
bafaf49a90 Add -d level to usage. From Kouichirou Hiratsuka in PR 26198. 2004-07-09 12:10:43 +00:00
dmcmahill
5455115fd1 Conditionally include nbtool_config.h to make sure __P has been defined
when this is built as a host tool on some non-netbsd hosts such as
solaris-2.6.  fgen now correctly builds there.
2003-12-07 01:02:36 +00:00
dmcmahill
ef962b8e93 include arpa/inet.h for htonl/htons. Needed for building on solaris as
a host tool.  Change ok'ed by Matt Green.
2003-12-06 05:15:29 +00:00
thorpej
2dc0580879 Remove unnecessary warnx() in getopt default case.
From Sergey Svishchev <svs at ropnet dot ru>.
2003-11-02 17:40:41 +00:00
lukem
514fc67c71 protect __RCSID() as this is a host tool. noted in PR 22074 by Julian C. Dunn 2003-07-20 01:09:07 +00:00
agc
a8d6388e6f Add NetBSD RCS Ids. 2003-06-23 13:05:47 +00:00
grant
eda9e509bb sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:40:16 +00:00
eeh
a3349924a6 Recognize "." as distinct from numbers with dots in them. 2002-06-11 00:04:28 +00:00
bjh21
3b761b6196 When we're assigning to a long, use 0 rather than NULL. 2002-05-28 21:58:36 +00:00
bjh21
53cb4986bf When open(2) fails, it returns -1, not NULL. 2002-05-28 21:41:56 +00:00
thorpej
6c46adefc6 Labels must be followed by statements. 2001-12-31 18:31:59 +00:00
eeh
a00c25eae0 Get rid of warnings on 32-bit machines. 2001-10-05 22:40:10 +00:00
eeh
f592ea46c0 Let 32-bit platforms generate 64-bit fcode too. 2001-10-05 22:36:02 +00:00
eeh
f39983133f Handle numbers with `.' embedded int them and 64-bit literals properly. 2001-10-04 18:53:15 +00:00
wiz
c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
christos
69195d4077 remove redundant decl 2001-02-05 01:47:01 +00:00
is
135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
simonb
d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
tron
e2f743a091 Add "%option yylineno" so that error handling code can use "yylineno". 1999-06-08 12:45:47 +00:00
tron
11e3a9c086 Include "err.h" to get prototypes for err() and warn(). 1999-06-08 12:38:20 +00:00
mrg
dc611e3e7f be a bit more consistent with errors (needs more work). minor KNFification. 1999-06-07 05:08:25 +00:00
hubertf
56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
eeh
cee5e32c50 Warn about parser stack discrepancies at the end of colon definitions. 1998-11-12 00:55:58 +00:00
mrg
843b0a05b3 make this compile under NetBSD. 1998-11-11 05:26:57 +00:00
eeh
c53c836082 Copyrights and minor cleanup. 1998-11-01 22:27:11 +00:00
eeh
1e192ee3f9 Added an FCode tokenizer for all your FCode tokenizing needs. 1998-10-31 18:14:53 +00:00