projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
src
/
parser_proc.y
diff --git
a/src/parser_proc.y
b/src/parser_proc.y
index 62e8011992d36fa3d6acb530a0b1e0f3002f7fa2..b606cf0ab7547d57640004f3dfdaea4934562c2c 100644
(file)
--- a/
src/parser_proc.y
+++ b/
src/parser_proc.y
@@
-207,7
+207,7
@@
decl_type(type_) ::= SIZE_T(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
-decl_type(type_) ::=
S
INT8(T). {
+decl_type(type_) ::= INT8(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
@@
-215,7
+215,7
@@
decl_type(type_) ::= UINT8(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
-decl_type(type_) ::=
S
INT16(T). {
+decl_type(type_) ::= INT16(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
@@
-223,7
+223,7
@@
decl_type(type_) ::= UINT16(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
-decl_type(type_) ::=
S
INT32(T). {
+decl_type(type_) ::= INT32(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
@@
-231,7
+231,7
@@
decl_type(type_) ::= UINT32(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
-decl_type(type_) ::=
S
INT64(T). {
+decl_type(type_) ::= INT64(T). {
type_ = init_decl_type(T->type, T->text);
free(T);
}
type_ = init_decl_type(T->type, T->text);
free(T);
}
@@
-269,23
+269,23
@@
impl_func(func) ::= FUNCTION REFERENCE NSNAME(NAME) impl_args(args) COLON impl_t
%type impl_def_val {impl_def_val*}
%destructor impl_def_val {free_impl_def_val($$);}
impl_def_val(def) ::= NULL(T). {
%type impl_def_val {impl_def_val*}
%destructor impl_def_val {free_impl_def_val($$);}
impl_def_val(def) ::= NULL(T). {
- def = init_impl_def_val(T);
+ def = init_impl_def_val(T
->type, T->text
);
free(T);
}
impl_def_val(def) ::= NUMBER(T). {
free(T);
}
impl_def_val(def) ::= NUMBER(T). {
- def = init_impl_def_val(T);
+ def = init_impl_def_val(T
->type, T->text
);
free(T);
}
impl_def_val(def) ::= TRUE(T). {
free(T);
}
impl_def_val(def) ::= TRUE(T). {
- def = init_impl_def_val(T);
+ def = init_impl_def_val(T
->type, T->text
);
free(T);
}
impl_def_val(def) ::= FALSE(T). {
free(T);
}
impl_def_val(def) ::= FALSE(T). {
- def = init_impl_def_val(T);
+ def = init_impl_def_val(T
->type, T->text
);
free(T);
}
impl_def_val(def) ::= QUOTED_STRING(T). {
free(T);
}
impl_def_val(def) ::= QUOTED_STRING(T). {
- def = init_impl_def_val(T);
+ def = init_impl_def_val(T
->type, T->text
);
free(T);
}
free(T);
}