X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/b072092f32623dab70e6ffe1613740542ea66748..ed62d3fbeda6bb085991cdd683ceacfc57f7afbe:/src/mttok.c diff --git a/src/mttok.c b/src/mttok.c index e718adf..b8739bb 100644 --- a/src/mttok.c +++ b/src/mttok.c @@ -1,6 +1,6 @@ /* -** LCLint - annotation-assisted static program checker -** Copyright (C) 1994-2001 University of Virginia, +** Splint - annotation-assisted static program checker +** Copyright (C) 1994-2003 University of Virginia, ** Massachusetts Institute of Technology ** ** This program is free software; you can redistribute it and/or modify it @@ -17,17 +17,16 @@ ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ** MA 02111-1307, USA. ** -** For information on lclint: lclint-request@cs.virginia.edu -** To report a bug: lclint-bug@cs.virginia.edu -** For more information: http://lclint.cs.virginia.edu +** For information on splint: info@splint.org +** To report a bug: splint-bug@splint.org +** For more information: http://www.splint.org */ /* ** mttok.c - based on lltok.c */ -# include "lclintMacros.nf" +# include "splintMacros.nf" # include "basic.h" - # include "mtgrammar.h" cstring @@ -50,6 +49,8 @@ mttok_unparse (mttok tok) case MT_PARAMETER: lit = "parameter"; break; case MT_RESULT: lit = "result"; break; case MT_CLAUSE: lit = "clause"; break; + case MT_LITERAL: lit = "literal"; break; + case MT_NULL: lit = "null"; break; case MT_ANNOTATIONS: lit = "annotations"; break; case MT_ARROW: lit = "==>"; break; case MT_MERGE: lit = "merge"; break;