summaryrefslogtreecommitdiff
path: root/ACE/apps/gperf/src/Vectors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/gperf/src/Vectors.cpp')
-rw-r--r--ACE/apps/gperf/src/Vectors.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/ACE/apps/gperf/src/Vectors.cpp b/ACE/apps/gperf/src/Vectors.cpp
new file mode 100644
index 00000000000..95706725549
--- /dev/null
+++ b/ACE/apps/gperf/src/Vectors.cpp
@@ -0,0 +1,36 @@
+// -*- C++ -*-
+
+// $Id$
+
+// Copyright (C) 1989 Free Software Foundation, Inc.
+// written by Douglas C. Schmidt (schmidt@cs.wustl.edu)
+
+// This file is part of GNU GPERF.
+
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// as published by the Free Software Foundation; either version 2
+// of the License, or (at your option) any later version.
+
+// This program 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 General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+#include "Vectors.h"
+
+ACE_RCSID(src, Vectors, "$Id$")
+
+#if defined (ACE_HAS_GPERF)
+
+// Counts occurrences of each key set character.
+int Vectors::occurrences[ACE_STANDARD_CHARACTER_SET_SIZE];
+
+// Value associated with each character.
+int Vectors::asso_values[ACE_STANDARD_CHARACTER_SET_SIZE];
+
+#endif /* ACE_HAS_GPERF */