Commit 1e677fd0 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

syntax fix

parent bd3f7457
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#define PARSE_FILE_TIMESTAMPLENGTH 19 #define PARSE_FILE_TIMESTAMPLENGTH 19
typedef enum { enum file_opt_type {
FILE_OPTIONS_STRING, /* String (LEX_STRING) */ FILE_OPTIONS_STRING, /* String (LEX_STRING) */
FILE_OPTIONS_ESTRING, /* Escaped string (LEX_STRING) */ FILE_OPTIONS_ESTRING, /* Escaped string (LEX_STRING) */
FILE_OPTIONS_ULONGLONG, /* ulonglong parapeter (ulonglong) */ FILE_OPTIONS_ULONGLONG, /* ulonglong parapeter (ulonglong) */
...@@ -28,13 +28,13 @@ typedef enum { ...@@ -28,13 +28,13 @@ typedef enum {
FILE_OPTIONS_TIMESTAMP, /* timestamp (LEX_STRING have to be FILE_OPTIONS_TIMESTAMP, /* timestamp (LEX_STRING have to be
allocated with length 20 (19+1) */ allocated with length 20 (19+1) */
FILE_OPTIONS_STRLIST /* list of strings (List<char*>) */ FILE_OPTIONS_STRLIST /* list of strings (List<char*>) */
} file_opt_type; };
struct File_option struct File_option
{ {
LEX_STRING name; /* Name of the option */ LEX_STRING name; /* Name of the option */
int offset; /* offset to base address of value */ int offset; /* offset to base address of value */
enum file_opt_type type; /* Option type */ file_opt_type type; /* Option type */
}; };
class File_parser; class File_parser;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment