bool 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,109 @@
1
+ /* A Bison parser, made by GNU Bison 2.7. */
2
+
3
+ /* Bison interface for Yacc-like parsers in C
4
+
5
+ Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6
+
7
+ This program is free software: you can redistribute it and/or modify
8
+ it under the terms of the GNU General Public License as published by
9
+ the Free Software Foundation, either version 3 of the License, or
10
+ (at your option) any later version.
11
+
12
+ This program is distributed in the hope that it will be useful,
13
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
14
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
+ GNU General Public License for more details.
16
+
17
+ You should have received a copy of the GNU General Public License
18
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
+
20
+ /* As a special exception, you may create a larger work that contains
21
+ part or all of the Bison parser skeleton and distribute that work
22
+ under terms of your choice, so long as that work isn't itself a
23
+ parser generator using the skeleton or a modified version thereof
24
+ as a parser skeleton. Alternatively, if you modify or redistribute
25
+ the parser skeleton itself, you may (at your option) remove this
26
+ special exception, which will cause the skeleton and the resulting
27
+ Bison output files to be licensed under the GNU General Public
28
+ License without this special exception.
29
+
30
+ This special exception was added by the Free Software Foundation in
31
+ version 2.2 of Bison. */
32
+
33
+ #ifndef YY_YY_PARSER_H_INCLUDED
34
+ # define YY_YY_PARSER_H_INCLUDED
35
+ /* Enabling traces. */
36
+ #ifndef YYDEBUG
37
+ # define YYDEBUG 0
38
+ #endif
39
+ #if YYDEBUG
40
+ extern int yydebug;
41
+ #endif
42
+ /* "%code requires" blocks. */
43
+ /* Line 2065 of yacc.c */
44
+ #line 10 "parser.y"
45
+
46
+
47
+ #include "bool_ast.h"
48
+ #ifndef YY_TYPEDEF_YY_SCANNER_T
49
+ #define YY_TYPEDEF_YY_SCANNER_T
50
+ typedef void* yyscan_t;
51
+ #endif
52
+
53
+
54
+
55
+ /* Line 2065 of yacc.c */
56
+ #line 57 "parser.h"
57
+
58
+ /* Tokens. */
59
+ #ifndef YYTOKENTYPE
60
+ # define YYTOKENTYPE
61
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
62
+ know about them. */
63
+ enum yytokentype {
64
+ TOKEN_OR = 258,
65
+ TOKEN_AND = 259,
66
+ UNOT = 260,
67
+ TOKEN_VAR = 261,
68
+ TOKEN_NOT = 262,
69
+ TOKEN_LPAREN = 263,
70
+ TOKEN_RPAREN = 264,
71
+ TOKEN_ERROR = 265
72
+ };
73
+ #endif
74
+
75
+
76
+ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
77
+ typedef union YYSTYPE
78
+ {
79
+ /* Line 2065 of yacc.c */
80
+ #line 28 "parser.y"
81
+
82
+ char* value;
83
+ Node* node;
84
+
85
+
86
+ /* Line 2065 of yacc.c */
87
+ #line 88 "parser.h"
88
+ } YYSTYPE;
89
+ # define YYSTYPE_IS_TRIVIAL 1
90
+ # define yystype YYSTYPE /* obsolescent; will be withdrawn */
91
+ # define YYSTYPE_IS_DECLARED 1
92
+ #endif
93
+
94
+
95
+ #ifdef YYPARSE_PARAM
96
+ #if defined __STDC__ || defined __cplusplus
97
+ int yyparse (void *YYPARSE_PARAM);
98
+ #else
99
+ int yyparse ();
100
+ #endif
101
+ #else /* ! YYPARSE_PARAM */
102
+ #if defined __STDC__ || defined __cplusplus
103
+ int yyparse (Node** node, yyscan_t scanner);
104
+ #else
105
+ int yyparse ();
106
+ #endif
107
+ #endif /* ! YYPARSE_PARAM */
108
+
109
+ #endif /* !YY_YY_PARSER_H_INCLUDED */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-13 00:00:00.000000000 Z
12
+ date: 2013-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -73,9 +73,15 @@ files:
73
73
  - ext/bool_ext/ast.c
74
74
  - ext/bool_ext/ext.c
75
75
  - ext/bool_ext/lexer.c
76
+ - ext/bool_ext/libbool/bool_ast.c
77
+ - ext/bool_ext/libbool/lexer.c
78
+ - ext/bool_ext/libbool/parser.c
76
79
  - ext/bool_ext/parser.c
77
80
  - ext/bool_ext/ast.h
78
81
  - ext/bool_ext/lexer.h
82
+ - ext/bool_ext/libbool/bool_ast.h
83
+ - ext/bool_ext/libbool/lexer.h
84
+ - ext/bool_ext/libbool/parser.h
79
85
  - ext/bool_ext/parser.h
80
86
  - ext/bool_ext/unused.h
81
87
  homepage:
@@ -98,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
104
  version: '0'
99
105
  requirements: []
100
106
  rubyforge_project:
101
- rubygems_version: 1.8.24
107
+ rubygems_version: 1.8.23
102
108
  signing_key:
103
109
  specification_version: 3
104
110
  summary: Boolean expression evaluator