Release calc version 2.11.1

This commit is contained in:
Landon Curt Noll
1999-12-14 01:33:40 -08:00
parent 2c9b160dc5
commit 867002aa77
519 changed files with 18131 additions and 4296 deletions

33
token.h
View File

@@ -1,7 +1,30 @@
/*
* Copyright (c) 1997 David I. Bell
* Permission is granted to use, distribute, or modify this source,
* provided that this copyright notice remains intact.
* token - token defines
*
* Copyright (C) 1999 David I. Bell
*
* Calc is open software; you can redistribute it and/or modify it under
* the terms of the version 2.1 of the GNU Lesser General Public License
* as published by the Free Software Foundation.
*
* Calc is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
* Public License for more details.
*
* A copy of version 2.1 of the GNU Lesser General Public License is
* distributed with calc under the filename COPYING-LGPL. You should have
* received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* @(#) $Revision: 29.1 $
* @(#) $Id: token.h,v 29.1 1999/12/14 09:16:16 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/token.h,v $
*
* Under source code control: 1990/02/15 01:48:37
* File existed as early as: before 1990
*
* Share and enjoy! :-) http://reality.sgi.com/chongo/tech/comp/calc/
*/
@@ -51,7 +74,7 @@
#define T_COMMA 33 /* comma "," */
#define T_ANDAND 34 /* logical and "&&" */
#define T_OROR 35 /* logical or "||" */
#define T_OLDVALUE 36 /* old value from previous calculation */
#define T_OLDVALUE 36 /* old value from prev calculation */
#define T_SLASHSLASH 37 /* integer divide "//" */
#define T_NEWLINE 38 /* newline character */
#define T_SLASHSLASHEQUALS 39 /* integer divide equals "//=" */
@@ -79,6 +102,8 @@
#define T_TILDEEQUALS 61 /* tilde equals "~=" */
#define T_BACKSLASH 62 /* backslash or setminus "\" */
#define T_BACKSLASHEQUALS 63 /* backslash equals "\=" */
#define T_POUNDBANG 64 /* #!/usr/local/bin/calc comment */
#define T_POUNDCOMMENT 65 /* #[whitespace] comment */
/*