2003-12-08 05:55:28 +03:00
####################################################################
#
# This file was generated using Parse::Yapp version 1.05.
#
# Don't edit this file, use source file instead.
#
# ANY CHANGE MADE HERE WILL BE LOST !
#
####################################################################
2005-07-09 19:32:08 +04:00
package Parse::Pidl::IDL ;
2003-12-08 05:55:28 +03:00
use vars qw ( @ ISA ) ;
use strict ;
@ ISA = qw ( Parse::Yapp:: Driver ) ;
2007-01-05 23:18:33 +03:00
use Parse::Yapp::Driver ;
2003-12-08 05:55:28 +03:00
sub new {
my ( $ class ) = shift ;
ref ( $ class )
and $ class = ref ( $ class ) ;
my ( $ self ) = $ class - > SUPER:: new ( yyversion = > '1.05' ,
yystates = >
[
{ #State 0
2004-08-11 23:48:36 +04:00
DEFAULT = > - 1 ,
2003-12-08 05:55:28 +03:00
GOTOS = > {
2004-08-11 23:48:36 +04:00
'idl' = > 1
2003-12-08 05:55:28 +03:00
}
} ,
{ #State 1
ACTIONS = > {
2006-11-07 00:54:19 +03:00
'' = > 2 ,
2007-08-31 04:03:54 +04:00
"cpp_quote" = > 3 ,
"importlib" = > 4 ,
"import" = > 7 ,
"include" = > 13
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2003-12-08 05:55:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'cpp_quote' = > 11 ,
'importlib' = > 10 ,
'interface' = > 9 ,
'include' = > 5 ,
'coclass' = > 12 ,
'import' = > 8 ,
'property_list' = > 6
2003-12-08 05:55:28 +03:00
}
} ,
2004-08-11 23:48:36 +04:00
{ #State 2
DEFAULT = > 0
} ,
2003-12-08 05:55:28 +03:00
{ #State 3
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"(" = > 14
}
} ,
{ #State 4
ACTIONS = > {
'TEXT' = > 16
2006-11-07 00:54:19 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'commalist' = > 15 ,
'text' = > 17
2006-11-07 00:54:19 +03:00
}
2004-08-11 23:48:36 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 5
2006-11-07 00:54:19 +03:00
DEFAULT = > - 5
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 6
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"coclass" = > 18 ,
"[" = > 20 ,
"interface" = > 19
2003-12-08 05:55:28 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 7
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'TEXT' = > 16
2004-08-11 23:48:36 +04:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'commalist' = > 21 ,
'text' = > 17
2003-12-08 05:55:28 +03:00
}
} ,
{ #State 8
2007-08-31 04:03:54 +04:00
DEFAULT = > - 4
2003-12-08 05:55:28 +03:00
} ,
{ #State 9
2007-08-31 04:03:54 +04:00
DEFAULT = > - 2
2003-12-08 05:55:28 +03:00
} ,
{ #State 10
2007-08-31 04:03:54 +04:00
DEFAULT = > - 6
2003-12-08 05:55:28 +03:00
} ,
{ #State 11
2007-08-31 04:03:54 +04:00
DEFAULT = > - 7
2003-12-08 05:55:28 +03:00
} ,
2004-08-11 23:48:36 +04:00
{ #State 12
2007-08-31 04:03:54 +04:00
DEFAULT = > - 3
2004-11-02 00:10:46 +03:00
} ,
{ #State 13
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'TEXT' = > 16
2006-11-07 01:54:49 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'commalist' = > 22 ,
'text' = > 17
2004-08-11 23:48:36 +04:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 14
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'TEXT' = > 16
2006-11-07 01:54:49 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'text' = > 23
2006-11-07 01:54:49 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 15
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 24 ,
"," = > 25
2006-11-07 01:54:49 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 16
DEFAULT = > - 124
} ,
{ #State 17
DEFAULT = > - 11
} ,
2003-12-08 05:55:28 +03:00
{ #State 18
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
} ,
GOTOS = > {
'identifier' = > 27
2006-11-07 01:54:49 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 19
2004-11-02 00:10:46 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
} ,
GOTOS = > {
'identifier' = > 28
2004-11-02 00:10:46 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 20
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2006-11-07 00:54:19 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 30 ,
'property' = > 31 ,
'properties' = > 29
}
} ,
{ #State 21
ACTIONS = > {
";" = > 32 ,
"," = > 25
2003-12-08 05:55:28 +03:00
}
} ,
{ #State 22
2007-08-31 04:03:54 +04:00
ACTIONS = > {
";" = > 33 ,
"," = > 25
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 23
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
")" = > 34
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 24
2007-08-31 04:03:54 +04:00
DEFAULT = > - 10
2003-12-08 05:55:28 +03:00
} ,
{ #State 25
2004-11-02 00:10:46 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'TEXT' = > 16
} ,
GOTOS = > {
'text' = > 35
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 26
2007-08-31 04:03:54 +04:00
DEFAULT = > - 120
2003-12-08 05:55:28 +03:00
} ,
{ #State 27
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"{" = > 36
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 28
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"{" = > 37
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 29
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"," = > 38 ,
"]" = > 39
}
2003-12-08 05:55:28 +03:00
} ,
{ #State 30
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"(" = > 40
} ,
DEFAULT = > - 95
2003-12-08 05:55:28 +03:00
} ,
{ #State 31
2007-08-31 04:03:54 +04:00
DEFAULT = > - 93
2003-12-08 05:55:28 +03:00
} ,
{ #State 32
2007-08-31 04:03:54 +04:00
DEFAULT = > - 8
2003-12-08 05:55:28 +03:00
} ,
{ #State 33
2007-08-31 04:03:54 +04:00
DEFAULT = > - 9
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 34
2007-08-31 04:03:54 +04:00
DEFAULT = > - 17
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 35
2007-08-31 04:03:54 +04:00
DEFAULT = > - 12
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 36
2007-08-31 04:03:54 +04:00
DEFAULT = > - 14 ,
GOTOS = > {
'interface_names' = > 41
2003-12-08 05:55:28 +03:00
}
} ,
2007-03-04 17:16:52 +03:00
{ #State 37
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"declare" = > 49 ,
"const" = > 53
} ,
DEFAULT = > - 91 ,
GOTOS = > {
'typedecl' = > 42 ,
'function' = > 43 ,
'definitions' = > 45 ,
'bitmap' = > 44 ,
'definition' = > 48 ,
'property_list' = > 47 ,
'usertype' = > 46 ,
'const' = > 52 ,
'declare' = > 51 ,
'struct' = > 50 ,
'typedef' = > 55 ,
'enum' = > 54 ,
'union' = > 56
}
2007-03-04 17:16:52 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 38
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'IDENTIFIER' = > 26
} ,
GOTOS = > {
'identifier' = > 30 ,
'property' = > 57
}
2004-08-11 23:48:36 +04:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 39
2007-08-31 04:03:54 +04:00
DEFAULT = > - 92
2007-03-04 17:16:52 +03:00
} ,
{ #State 40
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'text' = > 63 ,
'listtext' = > 59 ,
'anytext' = > 58 ,
'constant' = > 60
2003-12-08 05:55:28 +03:00
}
} ,
2005-02-21 15:13:42 +03:00
{ #State 41
2004-11-02 00:10:46 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"}" = > 64 ,
"interface" = > 65
2007-03-04 17:16:52 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 42
2007-08-31 04:03:54 +04:00
DEFAULT = > - 24
2004-08-11 23:48:36 +04:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 43
2007-08-31 04:03:54 +04:00
DEFAULT = > - 20
2003-12-08 05:55:28 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 44
2007-08-31 04:03:54 +04:00
DEFAULT = > - 39
2003-12-08 05:55:28 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 45
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"}" = > 66 ,
"declare" = > 49 ,
"const" = > 53
} ,
DEFAULT = > - 91 ,
GOTOS = > {
'typedecl' = > 42 ,
'function' = > 43 ,
'bitmap' = > 44 ,
'definition' = > 67 ,
'property_list' = > 47 ,
'usertype' = > 46 ,
'const' = > 52 ,
'struct' = > 50 ,
'declare' = > 51 ,
'typedef' = > 55 ,
'enum' = > 54 ,
'union' = > 56
}
2004-11-29 14:08:15 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 46
2007-08-31 04:03:54 +04:00
ACTIONS = > {
";" = > 68
}
2005-01-21 09:46:07 +03:00
} ,
2005-02-21 15:13:42 +03:00
{ #State 47
2005-09-04 02:58:04 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"typedef" = > 69 ,
'IDENTIFIER' = > 26 ,
"signed" = > 77 ,
"union" = > 70 ,
"enum" = > 79 ,
"bitmap" = > 80 ,
'void' = > 71 ,
"unsigned" = > 81 ,
"[" = > 20 ,
"struct" = > 76
} ,
GOTOS = > {
'existingtype' = > 78 ,
'bitmap' = > 44 ,
'usertype' = > 73 ,
'property_list' = > 72 ,
'identifier' = > 74 ,
'struct' = > 50 ,
'enum' = > 54 ,
'type' = > 82 ,
'union' = > 56 ,
'sign' = > 75
2006-11-07 01:54:49 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 48
DEFAULT = > - 18
} ,
2005-05-27 22:14:43 +04:00
{ #State 49
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
GOTOS = > {
'decl_enum' = > 84 ,
'decl_bitmap' = > 85 ,
'decl_type' = > 87 ,
'decl_union' = > 86 ,
'property_list' = > 83
}
2003-12-08 05:55:28 +03:00
} ,
2005-07-20 03:34:02 +04:00
{ #State 50
2007-08-31 04:03:54 +04:00
DEFAULT = > - 36
2005-07-20 03:34:02 +04:00
} ,
2005-05-27 22:14:43 +04:00
{ #State 51
2007-08-31 04:03:54 +04:00
DEFAULT = > - 23
2003-12-08 05:55:28 +03:00
} ,
2005-05-27 22:14:43 +04:00
{ #State 52
2007-08-31 04:03:54 +04:00
DEFAULT = > - 21
2004-08-11 23:48:36 +04:00
} ,
2005-05-27 22:14:43 +04:00
{ #State 53
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
GOTOS = > {
'identifier' = > 88
}
2005-09-04 02:58:04 +04:00
} ,
{ #State 54
2007-08-31 04:03:54 +04:00
DEFAULT = > - 38
2005-09-04 02:58:04 +04:00
} ,
{ #State 55
2007-08-31 04:03:54 +04:00
DEFAULT = > - 22
2005-09-04 02:58:04 +04:00
} ,
{ #State 56
2007-08-31 04:03:54 +04:00
DEFAULT = > - 37
2003-12-08 05:55:28 +03:00
} ,
2005-09-04 02:58:04 +04:00
{ #State 57
2007-08-31 04:03:54 +04:00
DEFAULT = > - 94
2005-01-06 09:32:07 +03:00
} ,
2005-09-04 02:58:04 +04:00
{ #State 58
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 97
2005-01-06 09:32:07 +03:00
} ,
2005-09-04 02:58:04 +04:00
{ #State 59
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"," = > 104 ,
")" = > 105
2007-03-04 17:16:52 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2005-09-04 02:58:04 +04:00
{ #State 60
2007-08-31 04:03:54 +04:00
DEFAULT = > - 103
2005-05-27 22:14:43 +04:00
} ,
2007-02-18 19:21:28 +03:00
{ #State 61
2007-08-31 04:03:54 +04:00
DEFAULT = > - 123
2007-02-18 19:21:28 +03:00
} ,
2006-11-07 01:54:49 +03:00
{ #State 62
2007-08-31 04:03:54 +04:00
DEFAULT = > - 102
2006-11-07 01:54:49 +03:00
} ,
2005-09-04 02:58:04 +04:00
{ #State 63
2007-08-31 04:03:54 +04:00
DEFAULT = > - 104
2005-07-20 03:34:02 +04:00
} ,
2007-02-18 19:21:28 +03:00
{ #State 64
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 106
2006-11-07 00:54:19 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 125 ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'optional_semicolon' = > 107
2006-11-07 00:54:19 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-02-18 19:21:28 +03:00
{ #State 65
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 108
2006-11-07 00:54:19 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-02-18 19:21:28 +03:00
{ #State 66
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 106
} ,
DEFAULT = > - 125 ,
GOTOS = > {
'optional_semicolon' = > 109
2007-03-04 17:16:52 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 67
DEFAULT = > - 19
} ,
2007-03-04 17:16:52 +03:00
{ #State 68
2007-08-31 04:03:54 +04:00
DEFAULT = > - 40
2007-03-04 17:16:52 +03:00
} ,
{ #State 69
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26 ,
"signed" = > 77 ,
'void' = > 71 ,
"unsigned" = > 81
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'existingtype' = > 78 ,
'bitmap' = > 44 ,
'usertype' = > 73 ,
'property_list' = > 72 ,
'identifier' = > 74 ,
'struct' = > 50 ,
'enum' = > 54 ,
'type' = > 110 ,
'union' = > 56 ,
'sign' = > 75
2006-11-07 01:54:49 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 70
2005-07-20 03:34:02 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 111
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 122 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'optional_identifier' = > 112
2005-07-20 03:34:02 +04:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 71
DEFAULT = > - 47
} ,
2007-03-04 17:16:52 +03:00
{ #State 72
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"union" = > 70 ,
"enum" = > 79 ,
"bitmap" = > 80 ,
"[" = > 20 ,
"struct" = > 76
}
2007-03-04 17:16:52 +03:00
} ,
{ #State 73
2007-08-31 04:03:54 +04:00
DEFAULT = > - 45
2007-03-04 17:16:52 +03:00
} ,
{ #State 74
2007-08-31 04:03:54 +04:00
DEFAULT = > - 44
2006-11-07 00:54:19 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 75
2004-11-29 14:08:15 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2005-09-04 02:58:04 +04:00
} ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 113
2006-11-07 01:54:49 +03:00
}
2005-09-04 02:58:04 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 76
2005-09-04 02:58:04 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 111
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 122 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'optional_identifier' = > 114
2006-11-07 00:54:19 +03:00
}
2004-08-11 23:48:36 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 77
DEFAULT = > - 41
} ,
2007-03-04 17:16:52 +03:00
{ #State 78
2007-08-31 04:03:54 +04:00
DEFAULT = > - 46
2007-05-01 06:00:57 +04:00
} ,
{ #State 79
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'IDENTIFIER' = > 111
} ,
DEFAULT = > - 122 ,
GOTOS = > {
'optional_identifier' = > 115
}
2007-05-01 06:00:57 +04:00
} ,
{ #State 80
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'IDENTIFIER' = > 111
} ,
DEFAULT = > - 122 ,
GOTOS = > {
'optional_identifier' = > 116
}
2007-05-01 06:00:57 +04:00
} ,
{ #State 81
2007-08-31 04:03:54 +04:00
DEFAULT = > - 42
2007-05-01 06:00:57 +04:00
} ,
{ #State 82
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2006-11-07 00:54:19 +03:00
} ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 117
2006-11-07 01:54:49 +03:00
}
2005-09-04 02:58:04 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 83
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"union" = > 118 ,
"enum" = > 119 ,
"bitmap" = > 120 ,
"[" = > 20
2007-03-04 17:16:52 +03:00
}
} ,
2007-05-01 06:00:57 +04:00
{ #State 84
2007-08-31 04:03:54 +04:00
DEFAULT = > - 29
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 85
2007-08-31 04:03:54 +04:00
DEFAULT = > - 30
2005-05-27 22:14:43 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 86
2007-08-31 04:03:54 +04:00
DEFAULT = > - 31
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 87
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 121
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 88
2007-08-31 04:03:54 +04:00
DEFAULT = > - 80 ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'pointers' = > 122
2005-01-21 09:46:07 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 89
2004-11-29 14:08:15 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 123 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 90
2005-05-27 22:14:43 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 124 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2006-11-07 00:54:19 +03:00
}
2005-09-04 02:58:04 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 91
2005-09-04 02:58:04 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 00:54:19 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 125 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2005-05-27 22:14:43 +04:00
}
} ,
2007-05-01 06:00:57 +04:00
{ #State 92
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 126 ,
'text' = > 63 ,
'constant' = > 60
2007-02-18 19:21:28 +03:00
}
2005-01-21 09:46:07 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 93
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 127 ,
'text' = > 63 ,
'constant' = > 60
2006-11-07 01:54:49 +03:00
}
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 94
2005-01-21 09:46:07 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 128 ,
'text' = > 63 ,
'constant' = > 60
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 95
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 129 ,
'text' = > 63 ,
'constant' = > 60
2007-02-18 19:21:28 +03:00
}
} ,
2007-05-01 06:00:57 +04:00
{ #State 96
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 130 ,
'text' = > 63 ,
'constant' = > 60 ,
'commalisttext' = > 131
2006-11-07 01:54:49 +03:00
}
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 97
2004-10-14 14:30:08 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2005-01-05 02:25:25 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2005-01-05 02:25:25 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 132 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2004-11-29 14:08:15 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 98
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 133 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2007-02-18 19:21:28 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 99
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
2007-05-01 06:00:57 +04:00
'anytext' = > 134 ,
2007-08-31 04:03:54 +04:00
'text' = > 63 ,
'constant' = > 60
2007-02-18 19:21:28 +03:00
}
2005-01-05 18:28:10 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 100
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 130 ,
'text' = > 63 ,
'constant' = > 60 ,
'commalisttext' = > 135
}
} ,
{ #State 101
ACTIONS = > {
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 136 ,
'text' = > 63 ,
'constant' = > 60
}
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 102
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 137 ,
'text' = > 63 ,
'constant' = > 60
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 103
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 138 ,
'text' = > 63 ,
'constant' = > 60
2006-11-07 01:54:49 +03:00
}
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 104
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 139 ,
'text' = > 63 ,
'constant' = > 60
2006-11-07 01:54:49 +03:00
}
2005-12-25 17:59:21 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 105
DEFAULT = > - 96
} ,
2007-05-01 06:00:57 +04:00
{ #State 106
2007-08-31 04:03:54 +04:00
DEFAULT = > - 126
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 107
2007-08-31 04:03:54 +04:00
DEFAULT = > - 13
2007-02-18 19:21:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 108
2005-12-25 17:59:21 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 140
2007-03-04 17:16:52 +03:00
}
2005-01-06 09:32:07 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 109
DEFAULT = > - 16
} ,
2007-05-01 06:00:57 +04:00
{ #State 110
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 141
2007-03-04 17:16:52 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 111
2007-08-31 04:03:54 +04:00
DEFAULT = > - 121
2005-07-20 03:34:02 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 112
2005-07-20 03:34:02 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"{" = > 143
} ,
DEFAULT = > - 76 ,
GOTOS = > {
'union_body' = > 144 ,
'opt_union_body' = > 142
2007-03-04 17:16:52 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2005-12-25 17:59:21 +03:00
{ #State 113
2007-08-31 04:03:54 +04:00
DEFAULT = > - 43
2003-12-08 05:55:28 +03:00
} ,
2005-12-25 17:59:21 +03:00
{ #State 114
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"{" = > 146
} ,
DEFAULT = > - 66 ,
GOTOS = > {
'struct_body' = > 145 ,
'opt_struct_body' = > 147
}
2003-12-08 05:55:28 +03:00
} ,
2005-12-25 17:59:21 +03:00
{ #State 115
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"{" = > 148
} ,
DEFAULT = > - 49 ,
GOTOS = > {
'opt_enum_body' = > 150 ,
'enum_body' = > 149
}
2005-12-25 17:59:21 +03:00
} ,
{ #State 116
2007-05-01 06:00:57 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"{" = > 152
} ,
DEFAULT = > - 57 ,
GOTOS = > {
'bitmap_body' = > 153 ,
'opt_bitmap_body' = > 151
2007-05-01 06:00:57 +04:00
}
} ,
{ #State 117
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"(" = > 154
2007-03-04 17:16:52 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 118
2007-08-31 04:03:54 +04:00
DEFAULT = > - 34
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 119
2007-08-31 04:03:54 +04:00
DEFAULT = > - 32
2005-07-20 03:34:02 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 120
2007-08-31 04:03:54 +04:00
DEFAULT = > - 33
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 121
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 155
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 122
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26 ,
"*" = > 157
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
GOTOS = > {
'identifier' = > 156
}
2005-07-20 03:34:02 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 123
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
2006-11-07 00:54:19 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 114
2005-07-20 03:34:02 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 124
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 105
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 125
2006-11-07 00:54:19 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
2006-11-07 00:54:19 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 109
2005-07-20 03:34:02 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 126
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 117
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 127
2005-01-05 18:28:10 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2005-07-20 03:34:02 +04:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 116
2005-01-05 18:28:10 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 128
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 107
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 129
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
2007-02-18 19:21:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
DEFAULT = > - 113
2005-01-05 03:14:29 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 130
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 99
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 131
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"}" = > 158 ,
"," = > 159
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 132
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 111
2005-12-25 17:59:21 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 133
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 112
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 134
2005-01-06 09:32:07 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
2005-01-06 09:32:07 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 115
2005-01-06 09:32:07 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 135
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"," = > 159 ,
")" = > 160
}
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 136
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 110
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 137
2007-08-31 04:03:54 +04:00
ACTIONS = > {
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
} ,
DEFAULT = > - 106
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 138
2007-08-31 04:03:54 +04:00
ACTIONS = > {
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
} ,
DEFAULT = > - 108
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 139
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 98
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 140
2007-08-31 04:03:54 +04:00
DEFAULT = > - 15
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 141
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"[" = > 161
} ,
DEFAULT = > - 88 ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'array_len' = > 162
2006-11-07 00:54:19 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 142
2007-08-31 04:03:54 +04:00
DEFAULT = > - 78
2007-03-04 17:16:52 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 143
2007-08-31 04:03:54 +04:00
DEFAULT = > - 73 ,
2006-11-07 00:54:19 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'union_elements' = > 163
2006-11-07 00:54:19 +03:00
}
} ,
2007-05-01 06:00:57 +04:00
{ #State 144
2007-08-31 04:03:54 +04:00
DEFAULT = > - 77
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 145
2007-08-31 04:03:54 +04:00
DEFAULT = > - 67
2007-02-18 19:21:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 146
2007-08-31 04:03:54 +04:00
DEFAULT = > - 82 ,
GOTOS = > {
'element_list1' = > 164
}
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 147
2007-08-31 04:03:54 +04:00
DEFAULT = > - 68
} ,
{ #State 148
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2007-03-04 17:16:52 +03:00
} ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-05-01 06:00:57 +04:00
'identifier' = > 165 ,
2007-08-31 04:03:54 +04:00
'enum_element' = > 166 ,
'enum_elements' = > 167
2007-02-18 19:21:28 +03:00
}
2006-11-07 00:54:19 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 149
2007-08-31 04:03:54 +04:00
DEFAULT = > - 50
2006-11-07 00:54:19 +03:00
} ,
{ #State 150
2007-08-31 04:03:54 +04:00
DEFAULT = > - 51
2007-05-01 06:00:57 +04:00
} ,
{ #State 151
2007-08-31 04:03:54 +04:00
DEFAULT = > - 59
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 152
2004-11-02 00:10:46 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
2005-01-05 03:14:29 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 62 ,
2005-01-05 03:14:29 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 170 ,
'bitmap_element' = > 169 ,
'bitmap_elements' = > 168 ,
'opt_bitmap_elements' = > 171
2004-11-02 00:10:46 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 153
DEFAULT = > - 58
} ,
2007-05-01 06:00:57 +04:00
{ #State 154
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"," = > - 84 ,
"void" = > 175 ,
")" = > - 84
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'base_element' = > 172 ,
'element_list2' = > 174 ,
'property_list' = > 173
2007-03-04 17:16:52 +03:00
}
2005-01-06 09:32:07 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 155
2007-08-31 04:03:54 +04:00
DEFAULT = > - 28
2004-11-29 14:08:15 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 156
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"[" = > 161 ,
"=" = > 177
2007-03-04 17:16:52 +03:00
} ,
GOTOS = > {
2007-08-31 04:03:54 +04:00
'array_len' = > 176
2006-11-07 01:54:49 +03:00
}
} ,
2007-05-01 06:00:57 +04:00
{ #State 157
2007-08-31 04:03:54 +04:00
DEFAULT = > - 81
2005-10-16 21:17:42 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 158
2007-03-04 17:16:52 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 178 ,
'text' = > 63 ,
'constant' = > 60
2007-03-04 17:16:52 +03:00
}
2005-10-16 21:17:42 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 159
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 179 ,
'text' = > 63 ,
'constant' = > 60
2007-03-04 17:16:52 +03:00
}
2007-02-18 19:21:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 160
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 180 ,
'text' = > 63 ,
'constant' = > 60
}
2003-12-08 05:55:28 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 161
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
"]" = > 181 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 182 ,
'text' = > 63 ,
'constant' = > 60
}
2006-09-07 02:25:54 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 162
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 183
2007-02-18 19:21:28 +03:00
}
2004-11-02 00:10:46 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 163
2006-07-29 10:00:58 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"}" = > 184
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
GOTOS = > {
'optional_base_element' = > 186 ,
'property_list' = > 185
}
2006-07-29 10:00:58 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 164
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"}" = > 187
} ,
DEFAULT = > - 91 ,
GOTOS = > {
'base_element' = > 188 ,
'property_list' = > 173
}
2006-09-07 02:25:54 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 165
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"=" = > 189
} ,
DEFAULT = > - 54
2005-01-05 18:28:10 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 166
2007-08-31 04:03:54 +04:00
DEFAULT = > - 52
2005-01-05 18:28:10 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 167
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"}" = > 190 ,
"," = > 191
}
2006-09-07 02:25:54 +04:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 168
2004-11-02 00:10:46 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"," = > 192
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 63
2004-11-02 00:10:46 +03:00
} ,
2007-05-01 06:00:57 +04:00
{ #State 169
2007-08-31 04:03:54 +04:00
DEFAULT = > - 60
2004-11-02 00:10:46 +03:00
} ,
2006-11-07 00:54:19 +03:00
{ #State 170
2005-01-05 03:14:29 +03:00
ACTIONS = > {
2007-03-04 17:16:52 +03:00
"=" = > 193
2005-01-05 03:14:29 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 171
2005-07-20 03:34:02 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"}" = > 194
2006-11-07 01:54:49 +03:00
}
2006-09-07 02:25:54 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 172
DEFAULT = > - 86
} ,
2007-03-04 17:16:52 +03:00
{ #State 173
2005-05-27 18:01:22 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26 ,
"signed" = > 77 ,
'void' = > 71 ,
"unsigned" = > 81 ,
"[" = > 20
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
GOTOS = > {
'existingtype' = > 78 ,
'bitmap' = > 44 ,
'usertype' = > 73 ,
'property_list' = > 72 ,
'identifier' = > 74 ,
'struct' = > 50 ,
'enum' = > 54 ,
'type' = > 195 ,
'union' = > 56 ,
'sign' = > 75
}
2005-01-05 02:25:25 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 174
2005-07-20 03:34:02 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"," = > 196 ,
")" = > 197
}
2005-02-11 05:05:47 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 175
2007-08-31 04:03:54 +04:00
DEFAULT = > - 85
2005-01-05 03:14:29 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 176
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"=" = > 198
2007-02-18 19:21:28 +03:00
}
} ,
2007-03-04 17:16:52 +03:00
{ #State 177
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 199 ,
'text' = > 63 ,
'constant' = > 60
2007-02-18 19:21:28 +03:00
}
} ,
2007-03-04 17:16:52 +03:00
{ #State 178
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 119
2007-02-18 19:21:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 179
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 100
2005-02-11 05:05:47 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 180
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
":" = > 89 ,
"<" = > 91 ,
"~" = > 92 ,
"?" = > 95 ,
"{" = > 96 ,
"=" = > 99
2007-02-18 19:21:28 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 118
2006-09-07 02:25:54 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 181
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"[" = > 161
} ,
DEFAULT = > - 88 ,
GOTOS = > {
'array_len' = > 200
}
2007-02-18 19:21:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 182
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"?" = > 95 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"&" = > 97 ,
"{" = > 96 ,
"/" = > 98 ,
"=" = > 99 ,
"|" = > 101 ,
"(" = > 100 ,
"*" = > 94 ,
"." = > 102 ,
"]" = > 201 ,
">" = > 103
2007-02-18 19:21:28 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 183
DEFAULT = > - 35
} ,
2007-03-04 17:16:52 +03:00
{ #State 184
2007-08-31 04:03:54 +04:00
DEFAULT = > - 75
2005-10-16 21:17:42 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 185
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"[" = > 20
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'base_or_empty' = > 202 ,
'base_element' = > 203 ,
'empty_element' = > 204 ,
'property_list' = > 205
2006-11-07 01:54:49 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 186
DEFAULT = > - 74
} ,
2007-03-04 17:16:52 +03:00
{ #State 187
2007-08-31 04:03:54 +04:00
DEFAULT = > - 65
} ,
{ #State 188
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
";" = > 206
2006-11-07 01:54:49 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 189
2006-09-07 02:25:54 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 207 ,
'text' = > 63 ,
'constant' = > 60
2006-09-07 02:25:54 +04:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 190
2007-08-31 04:03:54 +04:00
DEFAULT = > - 48
2005-07-20 03:34:02 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 191
2007-08-31 04:03:54 +04:00
ACTIONS = > {
'IDENTIFIER' = > 26
} ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 165 ,
'enum_element' = > 208
2005-07-20 03:34:02 +04:00
}
} ,
2007-03-04 17:16:52 +03:00
{ #State 192
2007-02-18 19:21:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26
} ,
GOTOS = > {
'identifier' = > 170 ,
'bitmap_element' = > 209
2007-02-18 19:21:28 +03:00
}
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 193
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 101 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'identifier' = > 62 ,
'anytext' = > 210 ,
'text' = > 63 ,
'constant' = > 60
2006-11-07 01:54:49 +03:00
}
2006-09-07 02:25:54 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 194
2007-08-31 04:03:54 +04:00
DEFAULT = > - 56
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 195
2007-08-31 04:03:54 +04:00
DEFAULT = > - 80 ,
GOTOS = > {
'pointers' = > 211
}
2003-12-08 05:55:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 196
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'base_element' = > 212 ,
'property_list' = > 173
2006-11-07 01:54:49 +03:00
}
2005-10-16 21:17:42 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 197
2007-08-31 04:03:54 +04:00
ACTIONS = > {
";" = > 213
}
2007-02-18 19:21:28 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 198
2005-10-16 21:17:42 +04:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'CONSTANT' = > 61 ,
'TEXT' = > 16 ,
'IDENTIFIER' = > 26
} ,
DEFAULT = > - 101 ,
GOTOS = > {
'identifier' = > 62 ,
'anytext' = > 214 ,
'text' = > 63 ,
'constant' = > 60
2005-10-16 21:17:42 +04:00
}
} ,
2007-03-04 17:16:52 +03:00
{ #State 199
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"?" = > 95 ,
"<" = > 91 ,
";" = > 215 ,
"+" = > 93 ,
"~" = > 92 ,
"&" = > 97 ,
"{" = > 96 ,
"/" = > 98 ,
"=" = > 99 ,
"|" = > 101 ,
"(" = > 100 ,
"*" = > 94 ,
"." = > 102 ,
">" = > 103
}
2006-11-07 01:54:49 +03:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 200
2007-08-31 04:03:54 +04:00
DEFAULT = > - 89
} ,
{ #State 201
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"[" = > 161
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 88 ,
2007-02-18 19:21:28 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'array_len' = > 216
2007-02-18 19:21:28 +03:00
}
2005-07-20 03:34:02 +04:00
} ,
2007-03-04 17:16:52 +03:00
{ #State 202
2007-08-31 04:03:54 +04:00
DEFAULT = > - 72
2007-03-04 17:16:52 +03:00
} ,
{ #State 203
2007-08-31 04:03:54 +04:00
ACTIONS = > {
";" = > 217
}
2007-03-04 17:16:52 +03:00
} ,
2006-11-07 00:54:19 +03:00
{ #State 204
2007-08-31 04:03:54 +04:00
DEFAULT = > - 71
2006-09-07 02:25:54 +04:00
} ,
2006-11-07 00:54:19 +03:00
{ #State 205
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
'IDENTIFIER' = > 26 ,
"signed" = > 77 ,
";" = > 218 ,
'void' = > 71 ,
"unsigned" = > 81 ,
"[" = > 20
2007-03-04 17:16:52 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 91 ,
2007-03-04 17:16:52 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'existingtype' = > 78 ,
'bitmap' = > 44 ,
'usertype' = > 73 ,
'property_list' = > 72 ,
'identifier' = > 74 ,
'struct' = > 50 ,
'enum' = > 54 ,
'type' = > 195 ,
'union' = > 56 ,
'sign' = > 75
2007-03-04 17:16:52 +03:00
}
2006-09-07 02:25:54 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 206
DEFAULT = > - 83
} ,
2006-11-07 00:54:19 +03:00
{ #State 207
2007-08-31 04:03:54 +04:00
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 55
2003-12-08 05:55:28 +03:00
} ,
2006-11-07 00:54:19 +03:00
{ #State 208
2007-08-31 04:03:54 +04:00
DEFAULT = > - 53
2006-11-07 00:54:19 +03:00
} ,
{ #State 209
2007-08-31 04:03:54 +04:00
DEFAULT = > - 61
} ,
{ #State 210
ACTIONS = > {
"-" = > 90 ,
":" = > 89 ,
"<" = > 91 ,
"+" = > 93 ,
"~" = > 92 ,
"*" = > 94 ,
"?" = > 95 ,
"{" = > 96 ,
"&" = > 97 ,
"/" = > 98 ,
"=" = > 99 ,
"(" = > 100 ,
"|" = > 101 ,
"." = > 102 ,
">" = > 103
} ,
DEFAULT = > - 64
} ,
{ #State 211
ACTIONS = > {
'IDENTIFIER' = > 26 ,
"*" = > 157
} ,
GOTOS = > {
'identifier' = > 219
}
} ,
{ #State 212
DEFAULT = > - 87
} ,
{ #State 213
DEFAULT = > - 27
} ,
{ #State 214
2003-12-08 05:55:28 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"-" = > 90 ,
":" = > 89 ,
"?" = > 95 ,
"<" = > 91 ,
";" = > 220 ,
"+" = > 93 ,
"~" = > 92 ,
"&" = > 97 ,
"{" = > 96 ,
"/" = > 98 ,
"=" = > 99 ,
"|" = > 101 ,
"(" = > 100 ,
"*" = > 94 ,
"." = > 102 ,
">" = > 103
2003-12-08 05:55:28 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 215
DEFAULT = > - 25
2005-10-16 21:17:42 +04:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 216
DEFAULT = > - 90
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 217
DEFAULT = > - 70
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 218
DEFAULT = > - 69
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 219
2006-11-07 01:54:49 +03:00
ACTIONS = > {
2007-08-31 04:03:54 +04:00
"[" = > 161
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
DEFAULT = > - 88 ,
2006-11-07 01:54:49 +03:00
GOTOS = > {
2007-08-31 04:03:54 +04:00
'array_len' = > 221
2006-11-07 01:54:49 +03:00
}
} ,
2007-08-31 04:03:54 +04:00
{ #State 220
DEFAULT = > - 26
2006-11-07 01:54:49 +03:00
} ,
2007-08-31 04:03:54 +04:00
{ #State 221
DEFAULT = > - 79
2003-12-08 05:55:28 +03:00
}
] ,
yyrules = >
[
[ #Rule 0
'$start' , 2 , undef
] ,
[ #Rule 1
2004-08-11 23:48:36 +04:00
'idl' , 0 , undef
2003-12-08 05:55:28 +03:00
] ,
[ #Rule 2
'idl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 19 "idl.yp"
2004-11-02 00:10:46 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
2003-12-08 05:55:28 +03:00
] ,
[ #Rule 3
2004-11-02 00:10:46 +03:00
'idl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 20 "idl.yp"
2004-11-02 00:10:46 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
[ #Rule 4
2006-11-07 00:54:19 +03:00
'idl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 21 "idl.yp"
2006-11-07 00:54:19 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
[ #Rule 5
'idl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 22 "idl.yp"
2006-11-07 00:54:19 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
[ #Rule 6
'idl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 23 "idl.yp"
2006-11-07 00:54:19 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
[ #Rule 7
2007-08-31 04:03:54 +04:00
'idl' , 2 ,
sub
#line 24 "idl.yp"
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
[ #Rule 8
2006-11-07 00:54:19 +03:00
'import' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 27 "idl.yp"
2006-11-07 00:54:19 +03:00
{ {
"TYPE" = > "IMPORT" ,
2006-11-07 01:54:49 +03:00
"PATHS" = > $ _ [ 2 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
2006-11-07 00:54:19 +03:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE }
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 9
2006-11-07 00:54:19 +03:00
'include' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 34 "idl.yp"
2006-11-07 00:54:19 +03:00
{ {
"TYPE" = > "INCLUDE" ,
2006-11-07 01:54:49 +03:00
"PATHS" = > $ _ [ 2 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
2006-11-07 00:54:19 +03:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE }
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 10
2006-11-07 00:54:19 +03:00
'importlib' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 41 "idl.yp"
2006-11-07 00:54:19 +03:00
{ {
"TYPE" = > "IMPORTLIB" ,
2006-11-07 01:54:49 +03:00
"PATHS" = > $ _ [ 2 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
2006-11-07 00:54:19 +03:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE }
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 11
2006-11-07 01:54:49 +03:00
'commalist' , 1 ,
2004-11-02 00:10:46 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 50 "idl.yp"
2006-11-07 01:54:49 +03:00
{ [ $ _ [ 1 ] ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 12
2006-11-07 01:54:49 +03:00
'commalist' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 51 "idl.yp"
2006-11-07 01:54:49 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 3 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 13
2006-11-07 01:54:49 +03:00
'coclass' , 7 ,
sub
2007-08-31 04:03:54 +04:00
#line 55 "idl.yp"
2006-11-07 00:54:19 +03:00
{ {
2004-11-02 00:10:46 +03:00
"TYPE" = > "COCLASS" ,
2005-01-05 03:31:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
"DATA" = > $ _ [ 5 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2004-11-02 00:10:46 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 14
2005-02-21 15:13:42 +03:00
'interface_names' , 0 , undef
2004-11-02 00:10:46 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 15
2005-02-21 15:13:42 +03:00
'interface_names' , 4 ,
2004-11-02 00:10:46 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 67 "idl.yp"
2004-11-02 00:10:46 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 16
2007-03-04 17:16:52 +03:00
'interface' , 7 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 71 "idl.yp"
2006-11-07 00:54:19 +03:00
{ {
2004-08-11 23:48:36 +04:00
"TYPE" = > "INTERFACE" ,
2005-01-05 03:31:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
2007-03-04 17:16:52 +03:00
"DATA" = > $ _ [ 5 ] ,
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
} }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 17
'cpp_quote' , 4 ,
sub
#line 82 "idl.yp"
{ {
"TYPE" = > "CPP_QUOTE" ,
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
"DATA" = > $ _ [ 3 ]
} }
] ,
[ #Rule 18
2003-12-08 05:55:28 +03:00
'definitions' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 91 "idl.yp"
2003-12-08 05:55:28 +03:00
{ [ $ _ [ 1 ] ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 19
2003-12-08 05:55:28 +03:00
'definitions' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 92 "idl.yp"
2003-12-08 05:55:28 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
2007-03-04 17:16:52 +03:00
[ #Rule 20
2005-07-20 03:34:02 +04:00
'definition' , 1 , undef
] ,
2007-03-04 17:16:52 +03:00
[ #Rule 21
2006-11-07 01:54:49 +03:00
'definition' , 1 , undef
] ,
2007-03-04 17:16:52 +03:00
[ #Rule 22
2006-11-07 01:54:49 +03:00
'definition' , 1 , undef
] ,
2007-03-04 17:16:52 +03:00
[ #Rule 23
2007-08-31 04:03:54 +04:00
'definition' , 1 , undef
] ,
[ #Rule 24
'definition' , 1 , undef
] ,
[ #Rule 25
2005-10-16 21:17:42 +04:00
'const' , 7 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 100 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
"TYPE" = > "CONST" ,
"DTYPE" = > $ _ [ 2 ] ,
2005-10-16 21:17:42 +04:00
"POINTERS" = > $ _ [ 3 ] ,
"NAME" = > $ _ [ 4 ] ,
"VALUE" = > $ _ [ 6 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 26
2005-10-16 21:17:42 +04:00
'const' , 8 ,
2004-11-29 14:08:15 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 110 "idl.yp"
2004-11-29 14:08:15 +03:00
{ {
"TYPE" = > "CONST" ,
"DTYPE" = > $ _ [ 2 ] ,
2005-10-16 21:17:42 +04:00
"POINTERS" = > $ _ [ 3 ] ,
"NAME" = > $ _ [ 4 ] ,
"ARRAY_LEN" = > $ _ [ 5 ] ,
"VALUE" = > $ _ [ 7 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2004-11-29 14:08:15 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 27
2003-12-08 05:55:28 +03:00
'function' , 7 ,
sub
2007-08-31 04:03:54 +04:00
#line 124 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
"TYPE" = > "FUNCTION" ,
"NAME" = > $ _ [ 3 ] ,
"RETURN_TYPE" = > $ _ [ 2 ] ,
"PROPERTIES" = > $ _ [ 1 ] ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"ELEMENTS" = > $ _ [ 5 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
} }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 28
2007-05-01 06:00:57 +04:00
'declare' , 4 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 136 "idl.yp"
2005-01-06 09:32:07 +03:00
{ {
"TYPE" = > "DECLARE" ,
2007-05-01 06:00:57 +04:00
"NAME" = > $ _ [ 3 ] ,
"DATA" = > $ _ [ 2 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2005-01-06 09:32:07 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 29
2005-01-06 09:32:07 +03:00
'decl_type' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 30
2005-07-20 03:34:02 +04:00
'decl_type' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 31
2006-07-29 10:00:58 +04:00
'decl_type' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 32
2007-05-01 06:00:57 +04:00
'decl_enum' , 2 ,
2005-01-06 09:32:07 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 149 "idl.yp"
2005-01-06 09:32:07 +03:00
{ {
2007-05-01 06:00:57 +04:00
"TYPE" = > "ENUM" ,
"PROPERTIES" = > $ _ [ 1 ]
2005-01-06 09:32:07 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 33
2007-05-01 06:00:57 +04:00
'decl_bitmap' , 2 ,
2005-01-06 09:32:07 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 156 "idl.yp"
2005-01-06 09:32:07 +03:00
{ {
2007-05-01 06:00:57 +04:00
"TYPE" = > "BITMAP" ,
"PROPERTIES" = > $ _ [ 1 ]
2005-01-06 09:32:07 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 34
2007-05-01 06:00:57 +04:00
'decl_union' , 2 ,
2006-07-29 10:00:58 +04:00
sub
2007-08-31 04:03:54 +04:00
#line 163 "idl.yp"
2006-07-29 10:00:58 +04:00
{ {
2007-05-01 06:00:57 +04:00
"TYPE" = > "UNION" ,
"PROPERTIES" = > $ _ [ 1 ]
2006-07-29 10:00:58 +04:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 35
2005-01-06 09:32:07 +03:00
'typedef' , 6 ,
sub
2007-08-31 04:03:54 +04:00
#line 170 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
2005-01-05 02:25:25 +03:00
"TYPE" = > "TYPEDEF" ,
2007-02-18 19:21:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
2005-01-05 02:25:25 +03:00
"NAME" = > $ _ [ 4 ] ,
"DATA" = > $ _ [ 3 ] ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"ARRAY_LEN" = > $ _ [ 5 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 36
2005-07-20 03:34:02 +04:00
'usertype' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 37
2005-07-20 03:34:02 +04:00
'usertype' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 38
2005-07-20 03:34:02 +04:00
'usertype' , 1 , undef
2004-11-29 14:08:15 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 39
2005-07-20 03:34:02 +04:00
'usertype' , 1 , undef
2005-01-05 18:28:10 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 40
2005-07-20 03:34:02 +04:00
'typedecl' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 183 "idl.yp"
2005-07-20 03:34:02 +04:00
{ $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 41
2005-12-25 17:59:21 +03:00
'sign' , 1 , undef
2005-07-20 03:34:02 +04:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 42
2005-12-25 17:59:21 +03:00
'sign' , 1 , undef
2005-07-20 03:34:02 +04:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 43
2005-12-25 17:59:21 +03:00
'existingtype' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 188 "idl.yp"
2007-01-09 09:02:41 +03:00
{ ( $ _ [ 1 ] ? $ _ [ 1 ] : "signed" ) . " $_[2]" }
2005-12-25 17:59:21 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 44
2005-12-25 17:59:21 +03:00
'existingtype' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 45
2005-12-25 17:59:21 +03:00
'type' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 46
2005-12-25 17:59:21 +03:00
'type' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 47
2003-12-08 05:55:28 +03:00
'type' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 192 "idl.yp"
2003-12-08 05:55:28 +03:00
{ "void" }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 48
2005-12-25 17:59:21 +03:00
'enum_body' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 194 "idl.yp"
2005-12-25 17:59:21 +03:00
{ $ _ [ 2 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 49
2005-12-25 17:59:21 +03:00
'opt_enum_body' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 50
2005-12-25 17:59:21 +03:00
'opt_enum_body' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 51
2007-02-18 19:21:28 +03:00
'enum' , 4 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 197 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"TYPE" = > "ENUM" ,
2007-02-18 19:21:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
"ELEMENTS" = > $ _ [ 4 ]
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 52
2003-12-08 05:55:28 +03:00
'enum_elements' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 206 "idl.yp"
2003-12-08 05:55:28 +03:00
{ [ $ _ [ 1 ] ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 53
2003-12-08 05:55:28 +03:00
'enum_elements' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 207 "idl.yp"
2003-12-08 05:55:28 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 3 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 54
2003-12-08 05:55:28 +03:00
'enum_element' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 55
2003-12-08 05:55:28 +03:00
'enum_element' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 211 "idl.yp"
2003-12-08 05:55:28 +03:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 56
2005-12-25 17:59:21 +03:00
'bitmap_body' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 214 "idl.yp"
2005-12-25 17:59:21 +03:00
{ $ _ [ 2 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 57
2005-12-25 17:59:21 +03:00
'opt_bitmap_body' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 58
2005-12-25 17:59:21 +03:00
'opt_bitmap_body' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 59
2007-02-18 19:21:28 +03:00
'bitmap' , 4 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 217 "idl.yp"
2005-01-05 18:28:10 +03:00
{ {
2005-07-20 03:34:02 +04:00
"TYPE" = > "BITMAP" ,
2007-02-18 19:21:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
"ELEMENTS" = > $ _ [ 4 ]
2005-01-05 18:28:10 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 60
2005-01-05 18:28:10 +03:00
'bitmap_elements' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 226 "idl.yp"
2005-01-05 18:28:10 +03:00
{ [ $ _ [ 1 ] ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 61
2005-01-05 18:28:10 +03:00
'bitmap_elements' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 227 "idl.yp"
2005-01-05 18:28:10 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 3 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 62
2006-09-07 02:25:54 +04:00
'opt_bitmap_elements' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 63
2006-09-07 02:25:54 +04:00
'opt_bitmap_elements' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 64
2005-01-05 18:28:10 +03:00
'bitmap_element' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 232 "idl.yp"
2005-01-05 18:28:10 +03:00
{ "$_[1] ( $_[3] )" }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 65
2005-12-25 17:59:21 +03:00
'struct_body' , 3 ,
2005-01-05 18:28:10 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 235 "idl.yp"
2005-12-25 17:59:21 +03:00
{ $ _ [ 2 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 66
2005-12-25 17:59:21 +03:00
'opt_struct_body' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 67
2005-12-25 17:59:21 +03:00
'opt_struct_body' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 68
2007-02-18 19:21:28 +03:00
'struct' , 4 ,
2005-12-25 17:59:21 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 239 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
2005-07-20 03:34:02 +04:00
"TYPE" = > "STRUCT" ,
2007-02-18 19:21:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
"ELEMENTS" = > $ _ [ 4 ]
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 69
2005-02-11 05:05:47 +03:00
'empty_element' , 2 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 248 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
2005-02-11 05:05:47 +03:00
"NAME" = > "" ,
"TYPE" = > "EMPTY" ,
2005-03-28 22:22:45 +04:00
"PROPERTIES" = > $ _ [ 1 ] ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"POINTERS" = > 0 ,
2005-05-27 18:01:22 +04:00
"ARRAY_LEN" = > [] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 70
2005-02-11 05:05:47 +03:00
'base_or_empty' , 2 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 71
2005-02-11 05:05:47 +03:00
'base_or_empty' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 72
2005-02-11 05:05:47 +03:00
'optional_base_element' , 2 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 262 "idl.yp"
2005-12-25 17:59:21 +03:00
{ $ _ [ 2 ] - > { PROPERTIES } = FlattenHash ( [ $ _ [ 1 ] , $ _ [ 2 ] - > { PROPERTIES } ] ) ; $ _ [ 2 ] }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 73
2005-02-11 05:05:47 +03:00
'union_elements' , 0 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 74
2005-02-11 05:05:47 +03:00
'union_elements' , 2 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 267 "idl.yp"
2005-02-11 05:05:47 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 75
2005-12-25 17:59:21 +03:00
'union_body' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 270 "idl.yp"
2005-12-25 17:59:21 +03:00
{ $ _ [ 2 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 76
2005-12-25 17:59:21 +03:00
'opt_union_body' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 77
2005-12-25 17:59:21 +03:00
'opt_union_body' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 78
2007-02-18 19:21:28 +03:00
'union' , 4 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 274 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
2005-07-20 03:34:02 +04:00
"TYPE" = > "UNION" ,
2007-02-18 19:21:28 +03:00
"PROPERTIES" = > $ _ [ 1 ] ,
"NAME" = > $ _ [ 3 ] ,
"ELEMENTS" = > $ _ [ 4 ]
2005-02-11 05:05:47 +03:00
} }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 79
2003-12-08 05:55:28 +03:00
'base_element' , 5 ,
sub
2007-08-31 04:03:54 +04:00
#line 283 "idl.yp"
2003-12-08 05:55:28 +03:00
{ {
"NAME" = > $ _ [ 4 ] ,
"TYPE" = > $ _ [ 2 ] ,
"PROPERTIES" = > $ _ [ 1 ] ,
"POINTERS" = > $ _ [ 3 ] ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"ARRAY_LEN" = > $ _ [ 5 ] ,
2007-01-05 18:20:23 +03:00
"FILE" = > $ _ [ 0 ] - > YYData - > { FILE } ,
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
"LINE" = > $ _ [ 0 ] - > YYData - > { LINE } ,
2003-12-08 05:55:28 +03:00
} }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 80
2003-12-08 05:55:28 +03:00
'pointers' , 0 ,
sub
2007-08-31 04:03:54 +04:00
#line 297 "idl.yp"
2003-12-08 05:55:28 +03:00
{ 0 }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 81
2003-12-08 05:55:28 +03:00
'pointers' , 2 ,
sub
2007-08-31 04:03:54 +04:00
#line 298 "idl.yp"
2003-12-08 05:55:28 +03:00
{ $ _ [ 1 ] + 1 }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 82
2007-03-04 17:16:52 +03:00
'element_list1' , 0 ,
sub
2007-08-31 04:03:54 +04:00
#line 302 "idl.yp"
2007-03-04 17:16:52 +03:00
{ [] }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 83
2003-12-08 05:55:28 +03:00
'element_list1' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 303 "idl.yp"
2003-12-08 05:55:28 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 2 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 84
2003-12-08 05:55:28 +03:00
'element_list2' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 85
2003-12-08 05:55:28 +03:00
'element_list2' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 86
2003-12-08 05:55:28 +03:00
'element_list2' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 309 "idl.yp"
2003-12-08 05:55:28 +03:00
{ [ $ _ [ 1 ] ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 87
2003-12-08 05:55:28 +03:00
'element_list2' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 310 "idl.yp"
2003-12-08 05:55:28 +03:00
{ push ( @ { $ _ [ 1 ] } , $ _ [ 3 ] ) ; $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 88
2003-12-08 05:55:28 +03:00
'array_len' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 89
2005-05-27 18:01:22 +04:00
'array_len' , 3 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 315 "idl.yp"
2005-05-27 18:01:22 +04:00
{ push ( @ { $ _ [ 3 ] } , "*" ) ; $ _ [ 3 ] }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 90
2005-05-27 18:01:22 +04:00
'array_len' , 4 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 316 "idl.yp"
2005-05-27 18:01:22 +04:00
{ push ( @ { $ _ [ 4 ] } , "$_[2]" ) ; $ _ [ 4 ] }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 91
2003-12-08 05:55:28 +03:00
'property_list' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 92
2003-12-08 05:55:28 +03:00
'property_list' , 4 ,
sub
2007-08-31 04:03:54 +04:00
#line 322 "idl.yp"
2005-12-25 17:59:21 +03:00
{ FlattenHash ( [ $ _ [ 1 ] , $ _ [ 3 ] ] ) ; }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 93
2003-12-08 05:55:28 +03:00
'properties' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 325 "idl.yp"
2003-12-08 05:55:28 +03:00
{ $ _ [ 1 ] }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 94
2003-12-08 05:55:28 +03:00
'properties' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 326 "idl.yp"
2005-12-25 17:59:21 +03:00
{ FlattenHash ( [ $ _ [ 1 ] , $ _ [ 3 ] ] ) ; }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 95
2003-12-08 05:55:28 +03:00
'property' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 329 "idl.yp"
2003-12-08 05:55:28 +03:00
{ { "$_[1]" = > "1" } }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 96
2003-12-08 05:55:28 +03:00
'property' , 4 ,
sub
2007-08-31 04:03:54 +04:00
#line 330 "idl.yp"
2003-12-08 05:55:28 +03:00
{ { "$_[1]" = > "$_[3]" } }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 97
2003-12-08 05:55:28 +03:00
'listtext' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 98
2003-12-08 05:55:28 +03:00
'listtext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 335 "idl.yp"
2003-12-08 05:55:28 +03:00
{ "$_[1] $_[3]" }
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 99
2004-10-14 14:30:08 +04:00
'commalisttext' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 100
2004-10-14 14:30:08 +04:00
'commalisttext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 340 "idl.yp"
2004-10-14 14:30:08 +04:00
{ "$_[1],$_[3]" }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 101
2004-10-14 14:30:08 +04:00
'anytext' , 0 ,
sub
2007-08-31 04:03:54 +04:00
#line 344 "idl.yp"
2004-10-14 14:30:08 +04:00
{ "" }
2003-12-08 05:55:28 +03:00
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 102
'anytext' , 1 , undef
] ,
2006-11-07 00:54:19 +03:00
[ #Rule 103
2007-08-31 04:03:54 +04:00
'anytext' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2006-11-07 00:54:19 +03:00
[ #Rule 104
2007-08-31 04:03:54 +04:00
'anytext' , 1 , undef
2003-12-08 05:55:28 +03:00
] ,
2006-11-07 00:54:19 +03:00
[ #Rule 105
2004-10-14 14:30:08 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 346 "idl.yp"
2004-10-14 14:30:08 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 106
2004-11-29 14:08:15 +03:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 347 "idl.yp"
2004-11-29 14:08:15 +03:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 107
2005-01-21 09:46:07 +03:00
'anytext' , 3 ,
2003-12-08 05:55:28 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 348 "idl.yp"
2005-01-21 09:46:07 +03:00
{ "$_[1]$_[2]$_[3]" }
2003-12-08 05:55:28 +03:00
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 108
2005-05-27 22:14:43 +04:00
'anytext' , 3 ,
2004-11-29 14:08:15 +03:00
sub
2007-08-31 04:03:54 +04:00
#line 349 "idl.yp"
2005-05-27 22:14:43 +04:00
{ "$_[1]$_[2]$_[3]" }
2004-11-29 14:08:15 +03:00
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 109
2005-09-04 02:58:04 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 350 "idl.yp"
2005-09-04 02:58:04 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 110
2005-09-04 02:58:04 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 351 "idl.yp"
2005-09-04 02:58:04 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 111
2005-09-04 02:58:04 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 352 "idl.yp"
2005-09-04 02:58:04 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 112
2006-07-29 10:00:58 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 353 "idl.yp"
2006-07-29 10:00:58 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 113
2006-07-29 10:00:58 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 354 "idl.yp"
2006-07-29 10:00:58 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 114
2006-09-07 02:25:54 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 355 "idl.yp"
2006-09-07 02:25:54 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 115
2006-09-07 02:25:54 +04:00
'anytext' , 3 ,
sub
2007-08-31 04:03:54 +04:00
#line 356 "idl.yp"
2006-09-07 02:25:54 +04:00
{ "$_[1]$_[2]$_[3]" }
] ,
2007-01-09 09:02:41 +03:00
[ #Rule 116
2007-08-31 04:03:54 +04:00
'anytext' , 3 ,
sub
#line 357 "idl.yp"
{ "$_[1]$_[2]$_[3]" }
] ,
[ #Rule 117
'anytext' , 3 ,
sub
#line 358 "idl.yp"
{ "$_[1]$_[2]$_[3]" }
] ,
[ #Rule 118
2005-01-21 09:46:07 +03:00
'anytext' , 5 ,
sub
2007-08-31 04:03:54 +04:00
#line 359 "idl.yp"
2005-01-21 09:46:07 +03:00
{ "$_[1]$_[2]$_[3]$_[4]$_[5]" }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 119
2005-05-27 22:14:43 +04:00
'anytext' , 5 ,
sub
2007-08-31 04:03:54 +04:00
#line 360 "idl.yp"
2005-05-27 22:14:43 +04:00
{ "$_[1]$_[2]$_[3]$_[4]$_[5]" }
2003-12-08 05:55:28 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 120
2005-05-27 22:14:43 +04:00
'identifier' , 1 , undef
2005-01-21 09:46:07 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 121
2005-07-20 03:34:02 +04:00
'optional_identifier' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 122
2005-07-20 03:34:02 +04:00
'optional_identifier' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 123
2005-05-27 22:14:43 +04:00
'constant' , 1 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 124
2003-12-08 05:55:28 +03:00
'text' , 1 ,
sub
2007-08-31 04:03:54 +04:00
#line 374 "idl.yp"
2003-12-08 05:55:28 +03:00
{ "\"$_[1]\"" }
2004-11-01 15:26:59 +03:00
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 125
2004-11-01 15:26:59 +03:00
'optional_semicolon' , 0 , undef
] ,
2007-08-31 04:03:54 +04:00
[ #Rule 126
2004-11-01 15:26:59 +03:00
'optional_semicolon' , 1 , undef
2003-12-08 05:55:28 +03:00
]
] ,
@ _ ) ;
bless ( $ self , $ class ) ;
}
2007-08-31 04:03:54 +04:00
#line 385 "idl.yp"
2005-12-25 17:59:21 +03:00
2007-01-05 18:20:23 +03:00
use Parse::Pidl qw( error ) ;
2005-12-25 17:59:21 +03:00
#####################################################################
# flatten an array of hashes into a single hash
sub FlattenHash ($)
{
my $ a = shift ;
my % b ;
for my $ d ( @ { $ a } ) {
for my $ k ( keys % { $ d } ) {
$ b { $ k } = $ d - > { $ k } ;
}
}
return \ % b ;
}
2003-12-08 05:55:28 +03:00
2005-07-10 05:16:02 +04:00
#####################################################################
# traverse a perl data structure removing any empty arrays or
# hashes and any hash elements that map to undef
sub CleanData ($)
{
sub CleanData ($) ;
my ( $ v ) = shift ;
2005-12-25 02:32:50 +03:00
return undef if ( not defined ( $ v ) ) ;
2005-07-10 05:16:02 +04:00
if ( ref ( $ v ) eq "ARRAY" ) {
foreach my $ i ( 0 .. $# { $ v } ) {
CleanData ( $ v - > [ $ i ] ) ;
}
# this removes any undefined elements from the array
@ { $ v } = grep { defined $ _ } @ { $ v } ;
} elsif ( ref ( $ v ) eq "HASH" ) {
foreach my $ x ( keys % { $ v } ) {
CleanData ( $ v - > { $ x } ) ;
if ( ! defined $ v - > { $ x } ) { delete ( $ v - > { $ x } ) ; next ; }
}
}
return $ v ;
}
2003-12-08 05:55:28 +03:00
sub _Error {
r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:
IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }
This makes the ndr_parser.pm internals much more sane.
Other changes include:
- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
most other IDL compilers). This can be overridden using the
default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
useful for making sure IDL files work with other IDL compilers.
oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2005-05-25 17:50:27 +04:00
if ( exists $ _ [ 0 ] - > YYData - > { ERRMSG } ) {
2007-01-05 18:20:23 +03:00
error ( $ _ [ 0 ] - > YYData , $ _ [ 0 ] - > YYData - > { ERRMSG } ) ;
2003-12-08 05:55:28 +03:00
delete $ _ [ 0 ] - > YYData - > { ERRMSG } ;
return ;
} ;
my $ last_token = $ _ [ 0 ] - > YYData - > { LAST_TOKEN } ;
2007-01-05 18:20:23 +03:00
error ( $ _ [ 0 ] - > YYData , "Syntax error near '$last_token'" ) ;
2003-12-08 05:55:28 +03:00
}
sub _Lexer ($)
{
my ( $ parser ) = shift ;
2005-07-22 01:27:39 +04:00
$ parser - > YYData - > { INPUT } or return ( '' , undef ) ;
2003-12-08 05:55:28 +03:00
again:
$ parser - > YYData - > { INPUT } =~ s/^[ \t]*// ;
for ( $ parser - > YYData - > { INPUT } ) {
if ( /^\#/ ) {
if ( s/^\# (\d+) \"(.*?)\"( \d+|)// ) {
$ parser - > YYData - > { LINE } = $ 1 - 1 ;
2007-01-05 18:20:23 +03:00
$ parser - > YYData - > { FILE } = $ 2 ;
2003-12-08 05:55:28 +03:00
goto again ;
}
2003-12-16 03:38:33 +03:00
if ( s/^\#line (\d+) \"(.*?)\"( \d+|)// ) {
$ parser - > YYData - > { LINE } = $ 1 - 1 ;
2007-01-05 18:20:23 +03:00
$ parser - > YYData - > { FILE } = $ 2 ;
2003-12-16 03:38:33 +03:00
goto again ;
}
if ( s/^(\#.*)$//m ) {
goto again ;
}
2003-12-08 05:55:28 +03:00
}
if ( s/^(\n)// ) {
$ parser - > YYData - > { LINE } + + ;
goto again ;
}
if ( s/^\"(.*?)\"// ) {
$ parser - > YYData - > { LAST_TOKEN } = $ 1 ;
return ( 'TEXT' , $ 1 ) ;
}
if ( s/^(\d+)(\W|$)/$2/ ) {
$ parser - > YYData - > { LAST_TOKEN } = $ 1 ;
return ( 'CONSTANT' , $ 1 ) ;
}
if ( s/^([\w_]+)// ) {
$ parser - > YYData - > { LAST_TOKEN } = $ 1 ;
if ( $ 1 =~
2007-08-31 04:03:54 +04:00
/ ^ ( coclass | interface | const | typedef | declare | union | cpp_quote
2006-11-07 00:54:19 +03:00
| struct | enum | bitmap | void | unsigned | signed | import | include
| importlib ) $ / x ) {
2003-12-08 05:55:28 +03:00
return $ 1 ;
}
return ( 'IDENTIFIER' , $ 1 ) ;
}
if ( s/^(.)//s ) {
$ parser - > YYData - > { LAST_TOKEN } = $ 1 ;
return ( $ 1 , $ 1 ) ;
}
}
}
2005-12-25 02:32:50 +03:00
sub parse_string
2003-12-08 05:55:28 +03:00
{
2005-12-25 02:32:50 +03:00
my ( $ data , $ filename ) = @ _ ;
2005-12-25 00:57:51 +03:00
my $ self = new Parse::Pidl:: IDL ;
2007-01-05 18:20:23 +03:00
$ self - > YYData - > { FILE } = $ filename ;
2005-12-25 00:57:51 +03:00
$ self - > YYData - > { INPUT } = $ data ;
$ self - > YYData - > { LINE } = 0 ;
$ self - > YYData - > { LAST_TOKEN } = "NONE" ;
my $ idl = $ self - > YYParse ( yylex = > \ & _Lexer , yyerror = > \ & _Error ) ;
return CleanData ( $ idl ) ;
}
2006-11-06 23:01:22 +03:00
sub parse_file ($$)
2005-12-25 00:57:51 +03:00
{
2006-11-06 23:01:22 +03:00
my ( $ filename , $ incdirs ) = @ _ ;
2003-12-08 05:55:28 +03:00
my $ saved_delim = $/ ;
undef $/ ;
2003-12-16 01:06:18 +03:00
my $ cpp = $ ENV { CPP } ;
if ( ! defined $ cpp ) {
2005-09-09 01:59:40 +04:00
$ cpp = "cpp" ;
2003-12-16 01:06:18 +03:00
}
2006-11-07 04:00:27 +03:00
my $ includes = join ( '' , map { " -I$_" } @$ incdirs ) ;
2006-11-06 23:01:22 +03:00
my $ data = `$cpp -D__PIDL__$includes -xc $filename` ;
2003-12-08 05:55:28 +03:00
$/ = $ saved_delim ;
2005-12-25 02:32:50 +03:00
return parse_string ( $ data , $ filename ) ;
2003-12-08 05:55:28 +03:00
}
1 ;