pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
2022-06-03
2022-06-03 08:52:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>
38174539ccf85d4fd9591059a8eb9178d631397f (
4
lines) (+
2
/-
2
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Zeroes are now only implicit in compat mode.
5574:
/* Set compiler_frame->current_type from the type stack. */ static void update_current_type(void) {
-
if (TEST_COMPAT(8,0)
||
-
!(THIS_COMPILATION->lex.pragmas & ID_STRICT_TYPES
)
)
{
+
if (TEST_COMPAT(8,0)) {
struct pike_type *t = peek_type_stack(); if (!t || (t->type != PIKE_T_AUTO)) { /* Implicit zero */