diff options
| author | Michael Forney <mforney@mforney.org> | 2019-06-05 23:09:06 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-06-05 23:09:06 -0700 |
| commit | 49f60b7f236dbd4fc4839a1c17632ddafb91c001 (patch) | |
| tree | cfa66a5bfb2e89294f09fb98abef33e4a7e974cb /pkg/netsurf/nsgenbind/webidl-parser.h | |
| parent | 10e71a69a346c6137d3483ad544fefb0ca6ef3e2 (diff) | |
netsurf: Disable javascript support
It is not that useful in its current form, and this save quite a
bit in executable size.
Diffstat (limited to 'pkg/netsurf/nsgenbind/webidl-parser.h')
| -rw-r--r-- | pkg/netsurf/nsgenbind/webidl-parser.h | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/pkg/netsurf/nsgenbind/webidl-parser.h b/pkg/netsurf/nsgenbind/webidl-parser.h deleted file mode 100644 index 106389b2..00000000 --- a/pkg/netsurf/nsgenbind/webidl-parser.h +++ /dev/null @@ -1,161 +0,0 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ - -/* Bison interface for Yacc-like parsers in C - - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. - - 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 3 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, see <http://www.gnu.org/licenses/>. */ - -/* As a special exception, you may create a larger work that contains - part or all of the Bison parser skeleton and distribute that work - under terms of your choice, so long as that work isn't itself a - parser generator using the skeleton or a modified version thereof - as a parser skeleton. Alternatively, if you modify or redistribute - the parser skeleton itself, you may (at your option) remove this - special exception, which will cause the skeleton and the resulting - Bison output files to be licensed under the GNU General Public - License without this special exception. - - This special exception was added by the Free Software Foundation in - version 2.2 of Bison. */ - -#ifndef YY_WEBIDL_WEBIDL_PARSER_H_INCLUDED -# define YY_WEBIDL_WEBIDL_PARSER_H_INCLUDED -/* Debug traces. */ -#ifndef WEBIDL_DEBUG -# if defined YYDEBUG -#if YYDEBUG -# define WEBIDL_DEBUG 1 -# else -# define WEBIDL_DEBUG 0 -# endif -# else /* ! defined YYDEBUG */ -# define WEBIDL_DEBUG 1 -# endif /* ! defined YYDEBUG */ -#endif /* ! defined WEBIDL_DEBUG */ -#if WEBIDL_DEBUG -extern int webidl_debug; -#endif - -/* Token type. */ -#ifndef WEBIDL_TOKENTYPE -# define WEBIDL_TOKENTYPE - enum webidl_tokentype - { - TOK_ANY = 258, - TOK_ATTRIBUTE = 259, - TOK_BOOLEAN = 260, - TOK_BYTE = 261, - TOK_CALLBACK = 262, - TOK_CONST = 263, - TOK_CONSTRUCTOR = 264, - TOK_CREATOR = 265, - TOK_DATE = 266, - TOK_DELETER = 267, - TOK_DICTIONARY = 268, - TOK_DOUBLE = 269, - TOK_ELLIPSIS = 270, - TOK_ENUM = 271, - TOK_EOL = 272, - TOK_EXCEPTION = 273, - TOK_FALSE = 274, - TOK_FLOAT = 275, - TOK_GETRAISES = 276, - TOK_GETTER = 277, - TOK_IMPLEMENTS = 278, - TOK_IN = 279, - TOK_INFINITY = 280, - TOK_INHERIT = 281, - TOK_INTERFACE = 282, - TOK_ITERABLE = 283, - TOK_LEGACYCALLER = 284, - TOK_LEGACYITERABLE = 285, - TOK_LONG = 286, - TOK_MODULE = 287, - TOK_NAN = 288, - TOK_NATIVE = 289, - TOK_NAMEDCONSTRUCTOR = 290, - TOK_NULL_LITERAL = 291, - TOK_OBJECT = 292, - TOK_OCTET = 293, - TOK_OMITTABLE = 294, - TOK_OPTIONAL = 295, - TOK_OR = 296, - TOK_PARTIAL = 297, - TOK_PROMISE = 298, - TOK_RAISES = 299, - TOK_READONLY = 300, - TOK_REQUIRED = 301, - TOK_SETRAISES = 302, - TOK_SETTER = 303, - TOK_SEQUENCE = 304, - TOK_SHORT = 305, - TOK_STATIC = 306, - TOK_STRING = 307, - TOK_STRINGIFIER = 308, - TOK_TRUE = 309, - TOK_TYPEDEF = 310, - TOK_UNRESTRICTED = 311, - TOK_UNSIGNED = 312, - TOK_VOID = 313, - TOK_POUND_SIGN = 314, - TOK_IDENTIFIER = 315, - TOK_INT_LITERAL = 316, - TOK_FLOAT_LITERAL = 317, - TOK_STRING_LITERAL = 318, - TOK_OTHER_LITERAL = 319, - TOK_JAVADOC = 320 - }; -#endif - -/* Value type. */ -#if ! defined WEBIDL_STYPE && ! defined WEBIDL_STYPE_IS_DECLARED - -union WEBIDL_STYPE -{ -#line 56 "webidl-parser.y" /* yacc.c:1909 */ - - int attr; - long value; - bool isit; - char* text; - struct webidl_node *node; - -#line 136 "webidl-parser.h" /* yacc.c:1909 */ -}; - -typedef union WEBIDL_STYPE WEBIDL_STYPE; -# define WEBIDL_STYPE_IS_TRIVIAL 1 -# define WEBIDL_STYPE_IS_DECLARED 1 -#endif - -/* Location type. */ -#if ! defined WEBIDL_LTYPE && ! defined WEBIDL_LTYPE_IS_DECLARED -typedef struct WEBIDL_LTYPE WEBIDL_LTYPE; -struct WEBIDL_LTYPE -{ - int first_line; - int first_column; - int last_line; - int last_column; -}; -# define WEBIDL_LTYPE_IS_DECLARED 1 -# define WEBIDL_LTYPE_IS_TRIVIAL 1 -#endif - - - -int webidl_parse (struct webidl_node **webidl_ast); - -#endif /* !YY_WEBIDL_WEBIDL_PARSER_H_INCLUDED */ |
