]> granicus.if.org Git - icinga2/commitdiff
Remove unused code
authorGunnar Beutner <gunnar@beutner.name>
Mon, 15 Dec 2014 05:03:13 +0000 (06:03 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 15 Dec 2014 05:03:13 +0000 (06:03 +0100)
refs #8074

lib/config/config_lexer.ll

index 8ef3b5de6b9574c1f0eaac1b0c4284efb72bf204..3adb48e0330a560fcd6929d7852e3d412348245d 100644 (file)
@@ -41,21 +41,6 @@ do {                                                 \
        yycolumn += yyleng;                             \
 } while (0);
 
-#define YYLLOC_DEFAULT(Current, Rhs, N)                                                        \
-       do                                                                              \
-               if (YYID (N)) {                                                         \
-                       (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;          \
-                       (Current).first_column = YYRHSLOC (Rhs, 1).first_column;        \
-                       (Current).last_line    = YYRHSLOC (Rhs, N).last_line;           \
-                       (Current).last_column  = YYRHSLOC (Rhs, N).last_column;         \
-               } else {                                                                \
-                       (Current).first_line   = (Current).last_line =                  \
-                           YYRHSLOC(Rhs, 0).last_line;                                 \
-                       (Current).first_column = (Current).last_column =                \
-                           YYRHSLOC(Rhs, 0).last_column;                               \
-               }                                                                       \
-       while (YYID(0))
-
 #define YY_INPUT(buf, result, max_size)                        \
 do {                                                   \
        result = yyextra->ReadInput(buf, max_size);     \