| OLD | NEW |
| 1 #line 10 "errorlexer.l" | 1 #line 10 "errorlexer.l" |
| 2 /* | 2 /* |
| 3 * This file is part of Wireless Display Software for Linux OS | 3 * This file is part of Wireless Display Software for Linux OS |
| 4 * | 4 * |
| 5 * Copyright (C) 2015 Intel Corporation. | 5 * Copyright (C) 2015 Intel Corporation. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Lesser General Public License for more details. | 15 * Lesser General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
| 18 * License along with this library; if not, write to the Free Software | 18 * License along with this library; if not, write to the Free Software |
| 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 20 * 02110-1301 USA | 20 * 02110-1301 USA |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #include <stdint.h> |
| 24 |
| 25 #define YY_NO_UNISTD_H 1 |
| 23 | 26 |
| 24 | 27 |
| 25 #line 26 "gen/errorscanner.cpp" | 28 |
| 29 #line 30 "gen/errorscanner.cpp" |
| 26 | 30 |
| 27 #define YY_INT_ALIGNED short int | 31 #define YY_INT_ALIGNED short int |
| 28 | 32 |
| 29 /* A lexical scanner generated by flex */ | 33 /* A lexical scanner generated by flex */ |
| 30 | 34 |
| 31 #define FLEX_SCANNER | 35 #define FLEX_SCANNER |
| 32 #define YY_FLEX_MAJOR_VERSION 2 | 36 #define YY_FLEX_MAJOR_VERSION 2 |
| 33 #define YY_FLEX_MINOR_VERSION 5 | 37 #define YY_FLEX_MINOR_VERSION 5 |
| 34 #define YY_FLEX_SUBMINOR_VERSION 35 | 38 #define YY_FLEX_SUBMINOR_VERSION 35 |
| 35 #if YY_FLEX_SUBMINOR_VERSION > 0 | 39 #if YY_FLEX_SUBMINOR_VERSION > 0 |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 | 670 |
| 667 /* The intent behind this definition is that it'll catch | 671 /* The intent behind this definition is that it'll catch |
| 668 * any uses of REJECT which flex missed. | 672 * any uses of REJECT which flex missed. |
| 669 */ | 673 */ |
| 670 #define REJECT reject_used_but_not_detected | 674 #define REJECT reject_used_but_not_detected |
| 671 #define yymore() yymore_used_but_not_detected | 675 #define yymore() yymore_used_but_not_detected |
| 672 #define YY_MORE_ADJ 0 | 676 #define YY_MORE_ADJ 0 |
| 673 #define YY_RESTORE_YY_MORE_OFFSET | 677 #define YY_RESTORE_YY_MORE_OFFSET |
| 674 | 678 |
| 675 #include <string> | 679 #include <string> |
| 680 |
| 676 #include "parser.h" | 681 #include "parser.h" |
| 682 |
| 677 #define yyterminate() return(END) | 683 #define yyterminate() return(END) |
| 678 | 684 |
| 679 #define INITIAL 0 | 685 #define INITIAL 0 |
| 680 | 686 |
| 681 #ifndef YY_NO_UNISTD_H | 687 #ifndef YY_NO_UNISTD_H |
| 682 /* Special case for "unistd.h", since it is non-ANSI. We include it way | 688 /* Special case for "unistd.h", since it is non-ANSI. We include it way |
| 683 * down here because we want the user's section 1 to have been scanned first. | 689 * down here because we want the user's section 1 to have been scanned first. |
| 684 * The user has a chance to override it with an option. | 690 * The user has a chance to override it with an option. |
| 685 */ | 691 */ |
| 686 #include <unistd.h> | 692 #include <unistd.h> |
| (...skipping 1596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2283 return (void *) realloc( (char *) ptr, size ); | 2289 return (void *) realloc( (char *) ptr, size ); |
| 2284 } | 2290 } |
| 2285 | 2291 |
| 2286 void error_free (void * ptr , yyscan_t yyscanner) | 2292 void error_free (void * ptr , yyscan_t yyscanner) |
| 2287 { | 2293 { |
| 2288 free( (char *) ptr ); /* see error_realloc() for (char *) cast */ | 2294 free( (char *) ptr ); /* see error_realloc() for (char *) cast */ |
| 2289 } | 2295 } |
| 2290 | 2296 |
| 2291 #define YYTABLES_NAME "yytables" | 2297 #define YYTABLES_NAME "yytables" |
| 2292 | 2298 |
| OLD | NEW |