aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>1999-03-29 17:32:00 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>1999-03-29 17:32:00 +0000
commitdb61847ca0406b31b2137db477d6eaa0d0a27b7c (patch)
tree7c1fd3ca936e9bbb0ec28b4d5e509d4182728e50 /src/parser.h
parentd25ff4ccf89553b9b96732955a0d41a84eec4740 (diff)
downloadcflow-db61847ca0406b31b2137db477d6eaa0d0a27b7c.tar.gz
cflow-db61847ca0406b31b2137db477d6eaa0d0a27b7c.tar.bz2
Initial revision
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
new file mode 100644
index 0000000..3fd3921
--- /dev/null
+++ b/src/parser.h
@@ -0,0 +1,43 @@
+/* $Id$
+ * cflow
+ * Copyright (C) 1997 Gray
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* tokens */
+#define WORD 257
+#define LBRACE0 258
+#define RBRACE0 259
+#define IDENTIFIER 260
+#define EXTERN 261
+#define STATIC 262
+#define TYPEDEF 263
+#define STRUCT 264
+#define MODIFIER 265
+#define OP 266
+#define UNION 267
+#define ENUM 268
+#define LBRACE '{'
+#define RBRACE '}'
+#define MEMBER_OF 269
+#define TYPE 270
+
+typedef struct {
+ char *str;
+} YYSTYPE;
+
+extern YYSTYPE yylval;
+extern char *filename;
+extern int line_num;

Return to:

Send suggestions and report system problems to the System administrator.