Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.50
 
1.51
 
MAIN:ragge:20030707142340
 
trees.c
_> 1+/*      $Id$    */
  2+/*
  3+ * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
  4+ * All rights reserved.
  5+ *
  6+ * Redistribution and use in source and binary forms, with or without
  7+ * modification, are permitted provided that the following conditions
  8+ * are met:
  9+ * 1. Redistributions of source code must retain the above copyright
  10+ *    notice, this list of conditions and the following disclaimer.
  11+ * 2. Redistributions in binary form must reproduce the above copyright
  12+ *    notice, this list of conditions and the following disclaimer in the
  13+ *    documentation and/or other materials provided with the distribution.
  14+ * 3. The name of the author may not be used to endorse or promote products
  15+ *    derived from this software without specific prior written permission
  16+ *
  17+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  18+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  19+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  20+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  21+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  22+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  23+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  24+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  25+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  26+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27+ */
  28+
  29+/*
  30+ * Copyright(C) Caldera International Inc. 2001-2002. All rights reserved.
  31+ *
  32+ * Redistribution and use in source and binary forms, with or without
  33+ * modification, are permitted provided that the following conditions
  34+ * are met:
  35+ *
  36+ * Redistributions of source code and documentation must retain the above
  37+ * copyright notice, this list of conditions and the following disclaimer.
  38+ * Redistributions in binary form must reproduce the above copyright
  39+ * notice, this list of conditionsand the following disclaimer in the
  40+ * documentation and/or other materials provided with the distribution.
  41+ * All advertising materials mentioning features or use of this software
  42+ * must display the following acknowledgement:
  43+ *      This product includes software developed or owned by Caldera
  44+ *      International, Inc.
  45+ * Neither the name of Caldera International, Inc. nor the names of other
  46+ * contributors may be used to endorse or promote products derived from
  47+ * this software without specific prior written permission.
  48+ *
  49+ * USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
  50+ * INTERNATIONAL, INC. AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
  51+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  52+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  53+ * DISCLAIMED.  IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE
  54+ * FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  55+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  56+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  57+ * HOWEVER CAUSED AND ON ANY THEORY OFLIABILITY, WHETHER IN CONTRACT,
  58+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  59+ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  60+ * POSSIBILITY OF SUCH DAMAGE.
  61+ */
  62+/*
  63+ * Some of the changes from 32V include:
  64+ * - Understand "void" as type.
  65+ * - Handle enums as ints everywhere.
  66+ */
  67+
168 # include "pass1.h"
<>2 -# include "pass2.h"     /* for NOPREF */
  69+# include "pass2.h"
370 
<>4 -# include <setjmp.h>
571 # include <stdarg.h>
<>6 -# include <string.h>
772 
<>8 -void chkpun(NODE *p);
 9 -int opact(NODE *p);
 10 -int moditype(TWORD);
  73+static void chkpun(NODE *p);
  74+static int opact(NODE *p);
  75+static int moditype(TWORD);
<_1176 static NODE *strargs(NODE *);
 1277 
 1378 /* corrections when in violation of lint */
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-02 02:26 +0200