summaryrefslogtreecommitdiffstats
path: root/Source/LexerParser/cmDependsJavaParserTokens.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-27 14:05:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-27 14:05:43 (GMT)
commit6153bd3a0c3413edf1898164e96b6fa5aebd78c1 (patch)
tree4925defb9ce94575098a46bf3e0e72722fb5c733 /Source/LexerParser/cmDependsJavaParserTokens.h
parentf39fb0b90de7002d2f66d118669a664540c6be7c (diff)
parent7c6192472be810de2da98bd6a3d03ac6661e24f5 (diff)
downloadCMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.zip
CMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.tar.gz
CMake-6153bd3a0c3413edf1898164e96b6fa5aebd78c1.tar.bz2
Merge topic 'update-bison-parser'
7c6192472b LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser 6f64300a01 LexerParser: Clean up includes following include-what-you-use 699d50e376 LexerParser: Regenerate parser files with GNU Bison 3.7.4 c95442b9b1 LexerParser: Manual removing code from Bison is no longer needed 5a8a61a798 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5730
Diffstat (limited to 'Source/LexerParser/cmDependsJavaParserTokens.h')
-rw-r--r--Source/LexerParser/cmDependsJavaParserTokens.h326
1 files changed, 114 insertions, 212 deletions
diff --git a/Source/LexerParser/cmDependsJavaParserTokens.h b/Source/LexerParser/cmDependsJavaParserTokens.h
index e0dfa01..4ae55fa 100644
--- a/Source/LexerParser/cmDependsJavaParserTokens.h
+++ b/Source/LexerParser/cmDependsJavaParserTokens.h
@@ -1,8 +1,8 @@
-/* A Bison parser, made by GNU Bison 3.4.2. */
+/* A Bison parser, made by GNU Bison 3.7.4. */
/* Bison interface for Yacc-like parsers in C
- Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
+ Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -31,8 +31,9 @@
This special exception was added by the Free Software Foundation in
version 2.2 of Bison. */
-/* Undocumented macros, especially those whose name start with YY_,
- are private implementation details. Do not rely on them. */
+/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
+ especially those whose name start with YY_ or yy_. They are
+ private implementation details that can be changed or removed. */
#ifndef YY_CMDEPENDSJAVA_YY_CMDEPENDSJAVAPARSERTOKENS_H_INCLUDED
# define YY_CMDEPENDSJAVA_YY_CMDEPENDSJAVAPARSERTOKENS_H_INCLUDED
@@ -44,220 +45,121 @@
extern int cmDependsJava_yydebug;
#endif
-/* Token type. */
+/* Token kinds. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
enum yytokentype
{
- jp_ABSTRACT = 258,
- jp_ASSERT = 259,
- jp_BOOLEAN_TYPE = 260,
- jp_BREAK = 261,
- jp_BYTE_TYPE = 262,
- jp_CASE = 263,
- jp_CATCH = 264,
- jp_CHAR_TYPE = 265,
- jp_CLASS = 266,
- jp_CONTINUE = 267,
- jp_DEFAULT = 268,
- jp_DO = 269,
- jp_DOUBLE_TYPE = 270,
- jp_ELSE = 271,
- jp_EXTENDS = 272,
- jp_FINAL = 273,
- jp_FINALLY = 274,
- jp_FLOAT_TYPE = 275,
- jp_FOR = 276,
- jp_IF = 277,
- jp_IMPLEMENTS = 278,
- jp_IMPORT = 279,
- jp_INSTANCEOF = 280,
- jp_INT_TYPE = 281,
- jp_INTERFACE = 282,
- jp_LONG_TYPE = 283,
- jp_NATIVE = 284,
- jp_NEW = 285,
- jp_PACKAGE = 286,
- jp_PRIVATE = 287,
- jp_PROTECTED = 288,
- jp_PUBLIC = 289,
- jp_RETURN = 290,
- jp_SHORT_TYPE = 291,
- jp_STATIC = 292,
- jp_STRICTFP = 293,
- jp_SUPER = 294,
- jp_SWITCH = 295,
- jp_SYNCHRONIZED = 296,
- jp_THIS = 297,
- jp_THROW = 298,
- jp_THROWS = 299,
- jp_TRANSIENT = 300,
- jp_TRY = 301,
- jp_VOID = 302,
- jp_VOLATILE = 303,
- jp_WHILE = 304,
- jp_BOOLEANLITERAL = 305,
- jp_CHARACTERLITERAL = 306,
- jp_DECIMALINTEGERLITERAL = 307,
- jp_FLOATINGPOINTLITERAL = 308,
- jp_HEXINTEGERLITERAL = 309,
- jp_NULLLITERAL = 310,
- jp_STRINGLITERAL = 311,
- jp_NAME = 312,
- jp_AND = 313,
- jp_ANDAND = 314,
- jp_ANDEQUALS = 315,
- jp_BRACKETEND = 316,
- jp_BRACKETSTART = 317,
- jp_CARROT = 318,
- jp_CARROTEQUALS = 319,
- jp_COLON = 320,
- jp_COMMA = 321,
- jp_CURLYEND = 322,
- jp_CURLYSTART = 323,
- jp_DIVIDE = 324,
- jp_DIVIDEEQUALS = 325,
- jp_DOLLAR = 326,
- jp_DOT = 327,
- jp_EQUALS = 328,
- jp_EQUALSEQUALS = 329,
- jp_EXCLAMATION = 330,
- jp_EXCLAMATIONEQUALS = 331,
- jp_GREATER = 332,
- jp_GTEQUALS = 333,
- jp_GTGT = 334,
- jp_GTGTEQUALS = 335,
- jp_GTGTGT = 336,
- jp_GTGTGTEQUALS = 337,
- jp_LESLESEQUALS = 338,
- jp_LESSTHAN = 339,
- jp_LTEQUALS = 340,
- jp_LTLT = 341,
- jp_MINUS = 342,
- jp_MINUSEQUALS = 343,
- jp_MINUSMINUS = 344,
- jp_PAREEND = 345,
- jp_PARESTART = 346,
- jp_PERCENT = 347,
- jp_PERCENTEQUALS = 348,
- jp_PIPE = 349,
- jp_PIPEEQUALS = 350,
- jp_PIPEPIPE = 351,
- jp_PLUS = 352,
- jp_PLUSEQUALS = 353,
- jp_PLUSPLUS = 354,
- jp_QUESTION = 355,
- jp_SEMICOL = 356,
- jp_TILDE = 357,
- jp_TIMES = 358,
- jp_TIMESEQUALS = 359,
- jp_ERROR = 360
+ YYEMPTY = -2,
+ YYEOF = 0, /* "end of file" */
+ YYerror = 256, /* error */
+ YYUNDEF = 257, /* "invalid token" */
+ jp_ABSTRACT = 258, /* jp_ABSTRACT */
+ jp_ASSERT = 259, /* jp_ASSERT */
+ jp_BOOLEAN_TYPE = 260, /* jp_BOOLEAN_TYPE */
+ jp_BREAK = 261, /* jp_BREAK */
+ jp_BYTE_TYPE = 262, /* jp_BYTE_TYPE */
+ jp_CASE = 263, /* jp_CASE */
+ jp_CATCH = 264, /* jp_CATCH */
+ jp_CHAR_TYPE = 265, /* jp_CHAR_TYPE */
+ jp_CLASS = 266, /* jp_CLASS */
+ jp_CONTINUE = 267, /* jp_CONTINUE */
+ jp_DEFAULT = 268, /* jp_DEFAULT */
+ jp_DO = 269, /* jp_DO */
+ jp_DOUBLE_TYPE = 270, /* jp_DOUBLE_TYPE */
+ jp_ELSE = 271, /* jp_ELSE */
+ jp_EXTENDS = 272, /* jp_EXTENDS */
+ jp_FINAL = 273, /* jp_FINAL */
+ jp_FINALLY = 274, /* jp_FINALLY */
+ jp_FLOAT_TYPE = 275, /* jp_FLOAT_TYPE */
+ jp_FOR = 276, /* jp_FOR */
+ jp_IF = 277, /* jp_IF */
+ jp_IMPLEMENTS = 278, /* jp_IMPLEMENTS */
+ jp_IMPORT = 279, /* jp_IMPORT */
+ jp_INSTANCEOF = 280, /* jp_INSTANCEOF */
+ jp_INT_TYPE = 281, /* jp_INT_TYPE */
+ jp_INTERFACE = 282, /* jp_INTERFACE */
+ jp_LONG_TYPE = 283, /* jp_LONG_TYPE */
+ jp_NATIVE = 284, /* jp_NATIVE */
+ jp_NEW = 285, /* jp_NEW */
+ jp_PACKAGE = 286, /* jp_PACKAGE */
+ jp_PRIVATE = 287, /* jp_PRIVATE */
+ jp_PROTECTED = 288, /* jp_PROTECTED */
+ jp_PUBLIC = 289, /* jp_PUBLIC */
+ jp_RETURN = 290, /* jp_RETURN */
+ jp_SHORT_TYPE = 291, /* jp_SHORT_TYPE */
+ jp_STATIC = 292, /* jp_STATIC */
+ jp_STRICTFP = 293, /* jp_STRICTFP */
+ jp_SUPER = 294, /* jp_SUPER */
+ jp_SWITCH = 295, /* jp_SWITCH */
+ jp_SYNCHRONIZED = 296, /* jp_SYNCHRONIZED */
+ jp_THIS = 297, /* jp_THIS */
+ jp_THROW = 298, /* jp_THROW */
+ jp_THROWS = 299, /* jp_THROWS */
+ jp_TRANSIENT = 300, /* jp_TRANSIENT */
+ jp_TRY = 301, /* jp_TRY */
+ jp_VOID = 302, /* jp_VOID */
+ jp_VOLATILE = 303, /* jp_VOLATILE */
+ jp_WHILE = 304, /* jp_WHILE */
+ jp_BOOLEANLITERAL = 305, /* jp_BOOLEANLITERAL */
+ jp_CHARACTERLITERAL = 306, /* jp_CHARACTERLITERAL */
+ jp_DECIMALINTEGERLITERAL = 307, /* jp_DECIMALINTEGERLITERAL */
+ jp_FLOATINGPOINTLITERAL = 308, /* jp_FLOATINGPOINTLITERAL */
+ jp_HEXINTEGERLITERAL = 309, /* jp_HEXINTEGERLITERAL */
+ jp_NULLLITERAL = 310, /* jp_NULLLITERAL */
+ jp_STRINGLITERAL = 311, /* jp_STRINGLITERAL */
+ jp_NAME = 312, /* jp_NAME */
+ jp_AND = 313, /* jp_AND */
+ jp_ANDAND = 314, /* jp_ANDAND */
+ jp_ANDEQUALS = 315, /* jp_ANDEQUALS */
+ jp_BRACKETEND = 316, /* jp_BRACKETEND */
+ jp_BRACKETSTART = 317, /* jp_BRACKETSTART */
+ jp_CARROT = 318, /* jp_CARROT */
+ jp_CARROTEQUALS = 319, /* jp_CARROTEQUALS */
+ jp_COLON = 320, /* jp_COLON */
+ jp_COMMA = 321, /* jp_COMMA */
+ jp_CURLYEND = 322, /* jp_CURLYEND */
+ jp_CURLYSTART = 323, /* jp_CURLYSTART */
+ jp_DIVIDE = 324, /* jp_DIVIDE */
+ jp_DIVIDEEQUALS = 325, /* jp_DIVIDEEQUALS */
+ jp_DOLLAR = 326, /* jp_DOLLAR */
+ jp_DOT = 327, /* jp_DOT */
+ jp_EQUALS = 328, /* jp_EQUALS */
+ jp_EQUALSEQUALS = 329, /* jp_EQUALSEQUALS */
+ jp_EXCLAMATION = 330, /* jp_EXCLAMATION */
+ jp_EXCLAMATIONEQUALS = 331, /* jp_EXCLAMATIONEQUALS */
+ jp_GREATER = 332, /* jp_GREATER */
+ jp_GTEQUALS = 333, /* jp_GTEQUALS */
+ jp_GTGT = 334, /* jp_GTGT */
+ jp_GTGTEQUALS = 335, /* jp_GTGTEQUALS */
+ jp_GTGTGT = 336, /* jp_GTGTGT */
+ jp_GTGTGTEQUALS = 337, /* jp_GTGTGTEQUALS */
+ jp_LESLESEQUALS = 338, /* jp_LESLESEQUALS */
+ jp_LESSTHAN = 339, /* jp_LESSTHAN */
+ jp_LTEQUALS = 340, /* jp_LTEQUALS */
+ jp_LTLT = 341, /* jp_LTLT */
+ jp_MINUS = 342, /* jp_MINUS */
+ jp_MINUSEQUALS = 343, /* jp_MINUSEQUALS */
+ jp_MINUSMINUS = 344, /* jp_MINUSMINUS */
+ jp_PAREEND = 345, /* jp_PAREEND */
+ jp_PARESTART = 346, /* jp_PARESTART */
+ jp_PERCENT = 347, /* jp_PERCENT */
+ jp_PERCENTEQUALS = 348, /* jp_PERCENTEQUALS */
+ jp_PIPE = 349, /* jp_PIPE */
+ jp_PIPEEQUALS = 350, /* jp_PIPEEQUALS */
+ jp_PIPEPIPE = 351, /* jp_PIPEPIPE */
+ jp_PLUS = 352, /* jp_PLUS */
+ jp_PLUSEQUALS = 353, /* jp_PLUSEQUALS */
+ jp_PLUSPLUS = 354, /* jp_PLUSPLUS */
+ jp_QUESTION = 355, /* jp_QUESTION */
+ jp_SEMICOL = 356, /* jp_SEMICOL */
+ jp_TILDE = 357, /* jp_TILDE */
+ jp_TIMES = 358, /* jp_TIMES */
+ jp_TIMESEQUALS = 359, /* jp_TIMESEQUALS */
+ jp_ERROR = 360 /* jp_ERROR */
};
+ typedef enum yytokentype yytoken_kind_t;
#endif
-/* Tokens. */
-#define jp_ABSTRACT 258
-#define jp_ASSERT 259
-#define jp_BOOLEAN_TYPE 260
-#define jp_BREAK 261
-#define jp_BYTE_TYPE 262
-#define jp_CASE 263
-#define jp_CATCH 264
-#define jp_CHAR_TYPE 265
-#define jp_CLASS 266
-#define jp_CONTINUE 267
-#define jp_DEFAULT 268
-#define jp_DO 269
-#define jp_DOUBLE_TYPE 270
-#define jp_ELSE 271
-#define jp_EXTENDS 272
-#define jp_FINAL 273
-#define jp_FINALLY 274
-#define jp_FLOAT_TYPE 275
-#define jp_FOR 276
-#define jp_IF 277
-#define jp_IMPLEMENTS 278
-#define jp_IMPORT 279
-#define jp_INSTANCEOF 280
-#define jp_INT_TYPE 281
-#define jp_INTERFACE 282
-#define jp_LONG_TYPE 283
-#define jp_NATIVE 284
-#define jp_NEW 285
-#define jp_PACKAGE 286
-#define jp_PRIVATE 287
-#define jp_PROTECTED 288
-#define jp_PUBLIC 289
-#define jp_RETURN 290
-#define jp_SHORT_TYPE 291
-#define jp_STATIC 292
-#define jp_STRICTFP 293
-#define jp_SUPER 294
-#define jp_SWITCH 295
-#define jp_SYNCHRONIZED 296
-#define jp_THIS 297
-#define jp_THROW 298
-#define jp_THROWS 299
-#define jp_TRANSIENT 300
-#define jp_TRY 301
-#define jp_VOID 302
-#define jp_VOLATILE 303
-#define jp_WHILE 304
-#define jp_BOOLEANLITERAL 305
-#define jp_CHARACTERLITERAL 306
-#define jp_DECIMALINTEGERLITERAL 307
-#define jp_FLOATINGPOINTLITERAL 308
-#define jp_HEXINTEGERLITERAL 309
-#define jp_NULLLITERAL 310
-#define jp_STRINGLITERAL 311
-#define jp_NAME 312
-#define jp_AND 313
-#define jp_ANDAND 314
-#define jp_ANDEQUALS 315
-#define jp_BRACKETEND 316
-#define jp_BRACKETSTART 317
-#define jp_CARROT 318
-#define jp_CARROTEQUALS 319
-#define jp_COLON 320
-#define jp_COMMA 321
-#define jp_CURLYEND 322
-#define jp_CURLYSTART 323
-#define jp_DIVIDE 324
-#define jp_DIVIDEEQUALS 325
-#define jp_DOLLAR 326
-#define jp_DOT 327
-#define jp_EQUALS 328
-#define jp_EQUALSEQUALS 329
-#define jp_EXCLAMATION 330
-#define jp_EXCLAMATIONEQUALS 331
-#define jp_GREATER 332
-#define jp_GTEQUALS 333
-#define jp_GTGT 334
-#define jp_GTGTEQUALS 335
-#define jp_GTGTGT 336
-#define jp_GTGTGTEQUALS 337
-#define jp_LESLESEQUALS 338
-#define jp_LESSTHAN 339
-#define jp_LTEQUALS 340
-#define jp_LTLT 341
-#define jp_MINUS 342
-#define jp_MINUSEQUALS 343
-#define jp_MINUSMINUS 344
-#define jp_PAREEND 345
-#define jp_PARESTART 346
-#define jp_PERCENT 347
-#define jp_PERCENTEQUALS 348
-#define jp_PIPE 349
-#define jp_PIPEEQUALS 350
-#define jp_PIPEPIPE 351
-#define jp_PLUS 352
-#define jp_PLUSEQUALS 353
-#define jp_PLUSPLUS 354
-#define jp_QUESTION 355
-#define jp_SEMICOL 356
-#define jp_TILDE 357
-#define jp_TIMES 358
-#define jp_TIMESEQUALS 359
-#define jp_ERROR 360
/* Value type. */