добавил функциональный тип

master2
serr 2025-05-18 19:22:23 +03:00
parent ebf1922c90
commit f7eea4af7a
1 changed files with 4 additions and 0 deletions

View File

@ -271,8 +271,12 @@ string_types:
STRING { } STRING { }
; ;
func_types:
FUNC LPAREN RPAREN return_type
type: type:
int_types { } int_types { }
| func_types { }
| string_types { } | string_types { }
| float_types { } | float_types { }
| complex_types { } | complex_types { }