summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortranLexer.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
committerBrad King <brad.king@kitware.com>2008-04-24 03:53:20 (GMT)
commit5bf6dba9e86b8686532b63f90c8f2f936c13020a (patch)
tree146b3584d56cb8aa8320da96027344b3b2478087 /Source/cmDependsFortranLexer.cxx
parent4cf167173fb3b3d3da4aa543b34896fb3e677483 (diff)
downloadCMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.zip
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.gz
CMake-5bf6dba9e86b8686532b63f90c8f2f936c13020a.tar.bz2
ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON - See issue #6884.
Diffstat (limited to 'Source/cmDependsFortranLexer.cxx')
-rw-r--r--Source/cmDependsFortranLexer.cxx428
1 files changed, 217 insertions, 211 deletions
diff --git a/Source/cmDependsFortranLexer.cxx b/Source/cmDependsFortranLexer.cxx
index 2c874aa..655f293 100644
--- a/Source/cmDependsFortranLexer.cxx
+++ b/Source/cmDependsFortranLexer.cxx
@@ -372,8 +372,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
*yy_cp = '\0'; \
yyg->yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 41
-#define YY_END_OF_BUFFER 42
+#define YY_NUM_RULES 43
+#define YY_END_OF_BUFFER 44
/* This struct is not used in this scanner,
but its presence is necessary. */
struct yy_trans_info
@@ -381,25 +381,25 @@ struct yy_trans_info
flex_int32_t yy_verify;
flex_int32_t yy_nxt;
};
-static yyconst flex_int16_t yy_accept[158] =
+static yyconst flex_int16_t yy_accept[161] =
{ 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 42, 36, 38, 37, 40, 1, 36, 31, 2, 37,
- 34, 36, 35, 36, 35, 38, 36, 37, 36, 35,
- 9, 8, 9, 4, 3, 36, 0, 10, 0, 0,
- 0, 0, 0, 31, 31, 32, 34, 36, 35, 0,
- 39, 35, 0, 0, 0, 0, 0, 0, 0, 0,
- 36, 0, 11, 35, 0, 0, 5, 0, 0, 0,
- 27, 0, 0, 31, 31, 31, 31, 0, 0, 0,
- 0, 0, 21, 0, 0, 0, 0, 0, 6, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 44, 38, 40, 39, 42, 1, 38, 31, 2, 33,
+ 38, 39, 36, 38, 37, 38, 37, 40, 38, 39,
+ 38, 37, 9, 8, 9, 4, 3, 38, 0, 10,
+ 0, 0, 0, 0, 0, 31, 31, 32, 34, 36,
+ 38, 37, 0, 41, 37, 0, 0, 0, 0, 0,
+ 0, 0, 0, 38, 0, 11, 37, 0, 0, 5,
+ 0, 0, 0, 27, 0, 0, 31, 31, 31, 31,
+ 0, 0, 0, 0, 0, 21, 0, 0, 0, 0,
+ 0, 6, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 28,
- 29, 0, 0, 0, 0, 0, 0, 0, 22, 23,
- 0, 0, 0, 0, 0, 0, 0, 0, 30, 25,
- 0, 0, 18, 0, 0, 24, 19, 0, 0, 17,
- 0, 0, 16, 26, 0, 0, 15, 20, 0, 7,
- 33, 7, 13, 0, 12, 14, 0
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 28, 29, 0, 0, 0, 0, 0, 0,
+ 0, 22, 23, 0, 0, 0, 0, 0, 0, 0,
+ 0, 30, 25, 0, 0, 18, 0, 0, 24, 19,
+ 0, 0, 17, 0, 0, 16, 26, 0, 0, 15,
+ 20, 0, 7, 35, 7, 13, 0, 12, 14, 0
} ;
static yyconst flex_int32_t yy_ec[256] =
@@ -408,16 +408,16 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 5, 6, 7, 8, 9, 1, 10, 11, 1,
- 1, 12, 1, 4, 1, 1, 1, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 13, 1, 14, 1,
- 15, 16, 17, 1, 18, 18, 19, 20, 21, 22,
- 18, 18, 23, 18, 18, 24, 18, 25, 18, 18,
- 18, 18, 26, 18, 27, 18, 18, 18, 18, 18,
- 1, 28, 1, 1, 29, 1, 18, 18, 30, 31,
-
- 32, 33, 18, 18, 34, 18, 18, 35, 18, 36,
- 18, 18, 18, 18, 37, 18, 38, 18, 18, 18,
- 18, 18, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 12, 1, 13, 1, 1, 1, 14, 14, 14,
+ 14, 14, 14, 14, 14, 14, 14, 15, 16, 1,
+ 17, 18, 19, 1, 20, 20, 21, 22, 23, 24,
+ 20, 20, 25, 20, 20, 26, 20, 27, 20, 20,
+ 20, 20, 28, 20, 29, 20, 20, 20, 20, 20,
+ 1, 30, 1, 1, 31, 1, 20, 20, 32, 33,
+
+ 34, 35, 20, 20, 36, 20, 20, 37, 20, 38,
+ 20, 20, 20, 20, 39, 20, 40, 20, 20, 20,
+ 20, 20, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -434,180 +434,178 @@ static yyconst flex_int32_t yy_ec[256] =
1, 1, 1, 1, 1
} ;
-static yyconst flex_int32_t yy_meta[39] =
+static yyconst flex_int32_t yy_meta[41] =
{ 0,
1, 2, 2, 3, 4, 3, 3, 1, 1, 3,
- 3, 1, 5, 3, 3, 1, 1, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 1, 5, 6,
- 6, 6, 6, 6, 6, 6, 6, 6
+ 3, 1, 3, 5, 1, 3, 3, 1, 1, 6,
+ 6, 6, 6, 6, 6, 6, 6, 6, 6, 1,
+ 5, 6, 6, 6, 6, 6, 6, 6, 6, 6
} ;
-static yyconst flex_int16_t yy_base[166] =
+static yyconst flex_int16_t yy_base[169] =
{ 0,
- 0, 37, 0, 38, 176, 45, 41, 51, 53, 63,
- 161, 0, 492, 492, 150, 492, 76, 77, 492, 492,
- 118, 116, 0, 66, 114, 93, 143, 123, 181, 210,
- 492, 115, 114, 492, 492, 0, 110, 492, 247, 70,
- 100, 96, 75, 144, 197, 492, 492, 135, 0, 136,
- 492, 0, 104, 284, 0, 136, 226, 140, 142, 89,
- 322, 87, 492, 0, 81, 183, 253, 158, 243, 175,
- 240, 234, 252, 285, 291, 307, 338, 298, 248, 286,
- 319, 306, 327, 327, 329, 69, 67, 357, 492, 331,
- 333, 340, 341, 347, 349, 346, 350, 354, 351, 354,
-
- 356, 355, 362, 366, 366, 370, 62, 50, 367, 492,
- 492, 371, 373, 375, 371, 377, 376, 380, 492, 492,
- 386, 390, 392, 387, 393, 44, 36, 396, 492, 492,
- 396, 400, 492, 394, 401, 492, 492, 405, 410, 492,
- 56, 0, 492, 492, 413, 415, 492, 492, 415, 492,
- 492, 492, 492, 416, 492, 492, 492, 448, 454, 459,
- 461, 467, 473, 479, 485
+ 0, 39, 0, 40, 184, 47, 43, 53, 55, 63,
+ 186, 0, 476, 476, 164, 476, 79, 72, 476, 476,
+ 143, 476, 130, 126, 0, 83, 119, 85, 149, 139,
+ 189, 220, 476, 131, 89, 476, 476, 0, 132, 476,
+ 259, 37, 69, 76, 34, 119, 137, 476, 0, 476,
+ 121, 0, 150, 476, 0, 154, 298, 0, 75, 138,
+ 142, 72, 127, 338, 94, 476, 0, 84, 158, 186,
+ 81, 145, 108, 172, 147, 173, 260, 266, 284, 299,
+ 272, 173, 178, 286, 245, 258, 285, 285, 78, 71,
+ 207, 476, 288, 291, 296, 304, 310, 315, 317, 326,
+
+ 330, 330, 335, 338, 338, 341, 343, 341, 348, 62,
+ 52, 346, 476, 476, 353, 355, 357, 352, 359, 359,
+ 359, 476, 476, 363, 365, 370, 366, 375, 46, 38,
+ 378, 476, 476, 378, 381, 476, 376, 384, 476, 476,
+ 384, 387, 476, 115, 0, 476, 476, 388, 393, 476,
+ 476, 394, 476, 476, 476, 476, 398, 476, 476, 476,
+ 432, 438, 443, 445, 451, 457, 463, 469
} ;
-static yyconst flex_int16_t yy_def[166] =
+static yyconst flex_int16_t yy_def[169] =
{ 0,
- 157, 1, 1, 1, 1, 1, 158, 158, 158, 158,
- 157, 159, 157, 157, 160, 157, 157, 157, 157, 157,
- 157, 159, 161, 159, 161, 157, 157, 157, 162, 157,
- 157, 157, 157, 157, 157, 159, 160, 157, 157, 157,
- 157, 157, 157, 157, 163, 157, 157, 159, 161, 157,
- 157, 25, 157, 157, 54, 157, 157, 157, 157, 157,
- 162, 162, 157, 30, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 163, 163, 163, 163, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
-
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 164, 165, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 0, 157, 157, 157,
- 157, 157, 157, 157, 157
+ 160, 1, 1, 1, 1, 1, 161, 161, 161, 161,
+ 160, 162, 160, 160, 163, 160, 162, 160, 160, 160,
+ 162, 160, 160, 162, 164, 162, 164, 160, 162, 160,
+ 165, 160, 160, 160, 160, 160, 160, 162, 163, 160,
+ 160, 160, 160, 160, 160, 160, 166, 160, 162, 160,
+ 162, 164, 160, 160, 27, 160, 160, 57, 160, 160,
+ 160, 160, 160, 165, 165, 160, 32, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 166, 166, 166, 166,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 167, 168, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 0,
+ 160, 160, 160, 160, 160, 160, 160, 160
} ;
-static yyconst flex_int16_t yy_nxt[531] =
+static yyconst flex_int16_t yy_nxt[517] =
{ 0,
12, 13, 14, 13, 13, 15, 16, 12, 17, 18,
- 19, 12, 12, 20, 21, 12, 22, 23, 23, 23,
- 23, 23, 23, 23, 23, 23, 23, 24, 25, 23,
- 23, 23, 23, 23, 23, 23, 23, 23, 26, 26,
- 142, 26, 26, 32, 27, 27, 26, 28, 141, 26,
- 33, 34, 27, 32, 127, 32, 29, 151, 151, 35,
- 33, 34, 33, 30, 30, 32, 126, 50, 51, 35,
- 50, 108, 33, 107, 30, 30, 36, 39, 44, 44,
- 39, 44, 45, 36, 36, 87, 46, 36, 36, 63,
- 68, 36, 36, 86, 53, 40, 41, 53, 42, 73,
-
- 54, 68, 43, 36, 36, 53, 40, 41, 53, 42,
- 73, 54, 38, 43, 36, 66, 67, 71, 66, 65,
- 72, 36, 36, 69, 70, 36, 52, 60, 71, 36,
- 36, 72, 48, 47, 69, 70, 78, 50, 51, 78,
- 50, 36, 52, 36, 55, 44, 44, 55, 44, 45,
- 36, 36, 38, 46, 36, 36, 80, 79, 36, 36,
- 157, 83, 56, 57, 84, 58, 85, 80, 79, 59,
- 36, 36, 83, 56, 57, 84, 58, 85, 28, 90,
- 59, 61, 157, 63, 66, 67, 157, 66, 61, 61,
- 90, 157, 61, 61, 93, 157, 61, 61, 75, 44,
-
- 157, 75, 76, 157, 157, 93, 77, 157, 61, 61,
- 62, 62, 63, 62, 62, 62, 62, 62, 62, 62,
- 62, 62, 64, 62, 62, 62, 62, 64, 64, 64,
- 64, 64, 64, 64, 64, 64, 64, 62, 64, 64,
- 64, 64, 64, 64, 64, 64, 64, 64, 39, 81,
- 82, 39, 96, 157, 88, 157, 157, 88, 157, 94,
- 81, 82, 89, 96, 95, 91, 40, 41, 92, 42,
- 94, 97, 98, 43, 157, 95, 91, 40, 41, 92,
- 42, 157, 97, 98, 43, 55, 75, 44, 55, 75,
- 76, 157, 75, 44, 77, 75, 76, 157, 157, 78,
-
- 77, 157, 78, 56, 57, 157, 58, 99, 75, 44,
- 59, 75, 76, 157, 56, 57, 77, 58, 99, 157,
- 79, 59, 61, 157, 63, 102, 157, 157, 157, 61,
- 61, 79, 157, 61, 61, 157, 102, 61, 61, 75,
- 44, 100, 75, 76, 101, 105, 103, 77, 106, 61,
- 61, 104, 100, 109, 110, 101, 105, 103, 88, 106,
- 111, 88, 104, 112, 109, 110, 89, 113, 114, 115,
- 116, 111, 117, 118, 112, 119, 120, 121, 113, 114,
- 115, 116, 122, 117, 118, 123, 119, 120, 121, 124,
- 125, 128, 129, 122, 130, 131, 123, 132, 133, 134,
-
- 124, 125, 128, 129, 135, 130, 131, 136, 132, 133,
- 134, 137, 138, 139, 140, 135, 143, 144, 136, 145,
- 146, 147, 137, 138, 139, 140, 148, 143, 144, 149,
- 145, 146, 147, 153, 154, 155, 156, 148, 157, 157,
- 149, 157, 157, 157, 153, 154, 155, 156, 31, 31,
- 31, 31, 31, 31, 36, 157, 157, 157, 36, 37,
- 37, 37, 37, 37, 37, 49, 49, 62, 62, 62,
- 62, 62, 62, 74, 74, 74, 74, 74, 74, 150,
- 150, 150, 157, 150, 150, 152, 157, 152, 157, 152,
- 152, 11, 157, 157, 157, 157, 157, 157, 157, 157,
-
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157
+ 19, 12, 20, 12, 21, 22, 23, 12, 24, 25,
+ 25, 25, 25, 25, 25, 25, 25, 25, 25, 26,
+ 27, 25, 25, 25, 25, 25, 25, 25, 25, 25,
+ 28, 28, 145, 28, 28, 34, 29, 29, 28, 30,
+ 144, 28, 35, 36, 29, 34, 130, 34, 31, 71,
+ 76, 37, 35, 36, 35, 34, 129, 32, 32, 37,
+ 71, 76, 35, 46, 46, 111, 46, 47, 32, 32,
+ 41, 48, 110, 41, 53, 54, 56, 53, 90, 56,
+ 69, 70, 57, 69, 72, 73, 66, 83, 88, 74,
+
+ 42, 43, 75, 44, 93, 72, 73, 45, 83, 88,
+ 74, 42, 43, 75, 44, 93, 154, 154, 45, 38,
+ 46, 46, 81, 46, 47, 81, 38, 38, 48, 96,
+ 38, 89, 55, 38, 40, 68, 38, 38, 78, 46,
+ 96, 78, 79, 63, 51, 82, 80, 50, 38, 55,
+ 58, 53, 54, 58, 53, 56, 82, 49, 56, 69,
+ 70, 57, 69, 84, 85, 86, 40, 99, 87, 94,
+ 59, 60, 95, 61, 84, 85, 86, 62, 99, 87,
+ 94, 59, 60, 95, 61, 160, 30, 91, 62, 64,
+ 91, 66, 160, 97, 100, 92, 64, 64, 98, 101,
+
+ 64, 102, 64, 64, 97, 100, 64, 64, 91, 98,
+ 101, 91, 102, 160, 160, 160, 92, 160, 64, 64,
+ 65, 65, 66, 65, 65, 65, 65, 65, 65, 65,
+ 65, 65, 65, 67, 65, 65, 65, 65, 65, 67,
+ 67, 67, 67, 67, 67, 67, 67, 67, 67, 65,
+ 67, 67, 67, 67, 67, 67, 67, 67, 67, 67,
+ 41, 78, 46, 41, 78, 79, 105, 78, 46, 80,
+ 78, 79, 160, 81, 160, 80, 81, 105, 160, 106,
+ 42, 43, 160, 44, 107, 78, 46, 45, 78, 79,
+ 106, 42, 43, 80, 44, 107, 82, 160, 45, 58,
+
+ 78, 46, 58, 78, 79, 108, 109, 82, 80, 160,
+ 103, 160, 112, 104, 113, 160, 108, 109, 114, 59,
+ 60, 103, 61, 112, 104, 113, 62, 160, 115, 114,
+ 59, 60, 116, 61, 160, 160, 117, 62, 64, 115,
+ 66, 160, 118, 116, 160, 64, 64, 117, 119, 64,
+ 120, 64, 64, 118, 121, 64, 64, 160, 122, 119,
+ 123, 120, 124, 125, 126, 121, 127, 64, 64, 122,
+ 128, 123, 131, 124, 125, 126, 132, 127, 133, 134,
+ 135, 128, 136, 131, 137, 138, 139, 132, 140, 133,
+ 134, 135, 141, 136, 142, 137, 138, 139, 143, 140,
+
+ 146, 147, 148, 141, 149, 142, 150, 151, 152, 143,
+ 156, 146, 147, 148, 157, 149, 158, 150, 151, 152,
+ 159, 156, 160, 160, 160, 157, 160, 158, 160, 160,
+ 160, 159, 33, 33, 33, 33, 33, 33, 38, 160,
+ 160, 160, 38, 39, 39, 39, 39, 39, 39, 52,
+ 52, 65, 65, 65, 65, 65, 65, 77, 77, 77,
+ 77, 77, 77, 153, 153, 153, 160, 153, 153, 155,
+ 160, 155, 160, 155, 155, 11, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160
} ;
-static yyconst flex_int16_t yy_chk[531] =
+static yyconst flex_int16_t yy_chk[517] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 4,
- 127, 2, 4, 7, 2, 4, 6, 6, 126, 6,
- 7, 7, 6, 8, 108, 9, 6, 141, 141, 9,
- 8, 8, 9, 6, 6, 10, 107, 24, 24, 10,
- 24, 87, 10, 86, 6, 6, 17, 17, 18, 18,
- 17, 18, 18, 17, 17, 65, 18, 17, 17, 62,
- 40, 17, 17, 60, 26, 17, 17, 26, 17, 43,
-
- 26, 40, 17, 17, 17, 53, 17, 17, 53, 17,
- 43, 53, 37, 17, 25, 33, 33, 42, 33, 32,
- 42, 25, 25, 41, 41, 25, 25, 28, 42, 25,
- 25, 42, 22, 21, 41, 41, 48, 50, 50, 48,
- 50, 25, 25, 27, 27, 44, 44, 27, 44, 44,
- 27, 27, 15, 44, 27, 27, 56, 48, 27, 27,
- 11, 58, 27, 27, 58, 27, 59, 56, 48, 27,
- 27, 27, 58, 27, 27, 58, 27, 59, 5, 68,
- 27, 29, 0, 29, 66, 66, 0, 66, 29, 29,
- 68, 0, 29, 29, 70, 0, 29, 29, 45, 45,
-
- 0, 45, 45, 0, 0, 70, 45, 0, 29, 29,
- 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
- 30, 30, 30, 30, 30, 30, 30, 30, 39, 57,
- 57, 39, 72, 0, 67, 0, 0, 67, 0, 71,
- 57, 57, 67, 72, 71, 69, 39, 39, 69, 39,
- 71, 73, 79, 39, 0, 71, 69, 39, 39, 69,
- 39, 0, 73, 79, 39, 54, 74, 74, 54, 74,
- 74, 0, 75, 75, 74, 75, 75, 0, 0, 78,
-
- 75, 0, 78, 54, 54, 0, 54, 80, 76, 76,
- 54, 76, 76, 0, 54, 54, 76, 54, 80, 0,
- 78, 54, 61, 0, 61, 82, 0, 0, 0, 61,
- 61, 78, 0, 61, 61, 0, 82, 61, 61, 77,
- 77, 81, 77, 77, 81, 84, 83, 77, 85, 61,
- 61, 83, 81, 90, 91, 81, 84, 83, 88, 85,
- 92, 88, 83, 93, 90, 91, 88, 94, 95, 96,
- 97, 92, 98, 99, 93, 100, 101, 102, 94, 95,
- 96, 97, 103, 98, 99, 104, 100, 101, 102, 105,
- 106, 109, 112, 103, 113, 114, 104, 115, 116, 117,
-
- 105, 106, 109, 112, 118, 113, 114, 121, 115, 116,
- 117, 122, 123, 124, 125, 118, 128, 131, 121, 132,
- 134, 135, 122, 123, 124, 125, 138, 128, 131, 139,
- 132, 134, 135, 145, 146, 149, 154, 138, 0, 0,
- 139, 0, 0, 0, 145, 146, 149, 154, 158, 158,
- 158, 158, 158, 158, 159, 0, 0, 0, 159, 160,
- 160, 160, 160, 160, 160, 161, 161, 162, 162, 162,
- 162, 162, 162, 163, 163, 163, 163, 163, 163, 164,
- 164, 164, 0, 164, 164, 165, 0, 165, 0, 165,
- 165, 157, 157, 157, 157, 157, 157, 157, 157, 157,
-
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157,
- 157, 157, 157, 157, 157, 157, 157, 157, 157, 157
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 2, 4, 130, 2, 4, 7, 2, 4, 6, 6,
+ 129, 6, 7, 7, 6, 8, 111, 9, 6, 42,
+ 45, 9, 8, 8, 9, 10, 110, 6, 6, 10,
+ 42, 45, 10, 18, 18, 90, 18, 18, 6, 6,
+ 17, 18, 89, 17, 26, 26, 28, 26, 68, 28,
+ 35, 35, 28, 35, 43, 43, 65, 59, 62, 44,
+
+ 17, 17, 44, 17, 71, 43, 43, 17, 59, 62,
+ 44, 17, 17, 44, 17, 71, 144, 144, 17, 27,
+ 46, 46, 51, 46, 46, 51, 27, 27, 46, 73,
+ 27, 63, 27, 27, 39, 34, 27, 27, 47, 47,
+ 73, 47, 47, 30, 24, 51, 47, 23, 27, 27,
+ 29, 53, 53, 29, 53, 56, 51, 21, 56, 69,
+ 69, 56, 69, 60, 60, 61, 15, 75, 61, 72,
+ 29, 29, 72, 29, 60, 60, 61, 29, 75, 61,
+ 72, 29, 29, 72, 29, 11, 5, 70, 29, 31,
+ 70, 31, 0, 74, 76, 70, 31, 31, 74, 82,
+
+ 31, 83, 31, 31, 74, 76, 31, 31, 91, 74,
+ 82, 91, 83, 0, 0, 0, 91, 0, 31, 31,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 41, 77, 77, 41, 77, 77, 85, 78, 78, 77,
+ 78, 78, 0, 81, 0, 78, 81, 85, 0, 86,
+ 41, 41, 0, 41, 86, 79, 79, 41, 79, 79,
+ 86, 41, 41, 79, 41, 86, 81, 0, 41, 57,
+
+ 80, 80, 57, 80, 80, 87, 88, 81, 80, 0,
+ 84, 0, 93, 84, 94, 0, 87, 88, 95, 57,
+ 57, 84, 57, 93, 84, 94, 57, 0, 96, 95,
+ 57, 57, 97, 57, 0, 0, 98, 57, 64, 96,
+ 64, 0, 99, 97, 0, 64, 64, 98, 100, 64,
+ 101, 64, 64, 99, 102, 64, 64, 0, 103, 100,
+ 104, 101, 105, 106, 107, 102, 108, 64, 64, 103,
+ 109, 104, 112, 105, 106, 107, 115, 108, 116, 117,
+ 118, 109, 119, 112, 120, 121, 124, 115, 125, 116,
+ 117, 118, 126, 119, 127, 120, 121, 124, 128, 125,
+
+ 131, 134, 135, 126, 137, 127, 138, 141, 142, 128,
+ 148, 131, 134, 135, 149, 137, 152, 138, 141, 142,
+ 157, 148, 0, 0, 0, 149, 0, 152, 0, 0,
+ 0, 157, 161, 161, 161, 161, 161, 161, 162, 0,
+ 0, 0, 162, 163, 163, 163, 163, 163, 163, 164,
+ 164, 165, 165, 165, 165, 165, 165, 166, 166, 166,
+ 166, 166, 166, 167, 167, 167, 0, 167, 167, 168,
+ 0, 168, 0, 168, 168, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+
+ 160, 160, 160, 160, 160, 160, 160, 160, 160, 160,
+ 160, 160, 160, 160, 160, 160
} ;
/* The intent behind this definition is that it'll catch
@@ -684,7 +682,7 @@ Modify cmDependsFortranLexer.h:
/*--------------------------------------------------------------------------*/
-#line 672 "cmDependsFortranLexer.cxx"
+#line 670 "cmDependsFortranLexer.cxx"
#define INITIAL 0
#define free_fmt 1
@@ -915,7 +913,7 @@ YY_DECL
#line 75 "cmDependsFortranLexer.in.l"
-#line 903 "cmDependsFortranLexer.cxx"
+#line 901 "cmDependsFortranLexer.cxx"
if ( !yyg->yy_init )
{
@@ -969,13 +967,13 @@ yy_match:
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 158 )
+ if ( yy_current_state >= 161 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 492 );
+ while ( yy_base[yy_current_state] != 476 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
@@ -1165,51 +1163,59 @@ YY_RULE_SETUP
YY_BREAK
case 33:
-/* rule 33 can match eol */
YY_RULE_SETUP
#line 150 "cmDependsFortranLexer.in.l"
-{ return GARBAGE; }
+{ return COMMA; }
case 34:
YY_RULE_SETUP
#line 152 "cmDependsFortranLexer.in.l"
-{ return ASSIGNMENT_OP; }
+{ return DCOLON; }
case 35:
+/* rule 35 can match eol */
YY_RULE_SETUP
#line 154 "cmDependsFortranLexer.in.l"
+{ return GARBAGE; }
+case 36:
+YY_RULE_SETUP
+#line 156 "cmDependsFortranLexer.in.l"
+{ return ASSIGNMENT_OP; }
+case 37:
+YY_RULE_SETUP
+#line 158 "cmDependsFortranLexer.in.l"
{
yylvalp->string = strdup(yytext);
return WORD;
}
-case 36:
+case 38:
YY_RULE_SETUP
-#line 159 "cmDependsFortranLexer.in.l"
+#line 163 "cmDependsFortranLexer.in.l"
{ return GARBAGE; }
-case 37:
-/* rule 37 can match eol */
+case 39:
+/* rule 39 can match eol */
YY_RULE_SETUP
-#line 161 "cmDependsFortranLexer.in.l"
+#line 165 "cmDependsFortranLexer.in.l"
{ return EOSTMT; }
-case 38:
+case 40:
YY_RULE_SETUP
-#line 164 "cmDependsFortranLexer.in.l"
+#line 168 "cmDependsFortranLexer.in.l"
/* Ignore */
YY_BREAK
-case 39:
-/* rule 39 can match eol */
+case 41:
+/* rule 41 can match eol */
YY_RULE_SETUP
-#line 165 "cmDependsFortranLexer.in.l"
+#line 169 "cmDependsFortranLexer.in.l"
/* Ignore line-endings preceeded by \ */
YY_BREAK
-case 40:
+case 42:
YY_RULE_SETUP
-#line 167 "cmDependsFortranLexer.in.l"
+#line 171 "cmDependsFortranLexer.in.l"
{ return *yytext; }
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(free_fmt):
case YY_STATE_EOF(fixed_fmt):
case YY_STATE_EOF(str_sq):
case YY_STATE_EOF(str_dq):
-#line 169 "cmDependsFortranLexer.in.l"
+#line 173 "cmDependsFortranLexer.in.l"
{
if(!cmDependsFortranParser_FilePop(yyextra) )
{
@@ -1217,12 +1223,12 @@ case YY_STATE_EOF(str_dq):
}
}
YY_BREAK
-case 41:
+case 43:
YY_RULE_SETUP
-#line 176 "cmDependsFortranLexer.in.l"
+#line 180 "cmDependsFortranLexer.in.l"
ECHO;
YY_BREAK
-#line 1239 "cmDependsFortranLexer.cxx"
+#line 1247 "cmDependsFortranLexer.cxx"
case YY_END_OF_BUFFER:
{
@@ -1515,7 +1521,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 158 )
+ if ( yy_current_state >= 161 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
@@ -1544,11 +1550,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 158 )
+ if ( yy_current_state >= 161 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 157);
+ yy_is_jam = (yy_current_state == 160);
return yy_is_jam ? 0 : yy_current_state;
}
@@ -2378,7 +2384,7 @@ void cmDependsFortran_yyfree (void * ptr , yyscan_t)
#define YYTABLES_NAME "yytables"
-#line 176 "cmDependsFortranLexer.in.l"
+#line 180 "cmDependsFortranLexer.in.l"