]> granicus.if.org Git - php/commitdiff
Initialize indentation_uses_spaces field
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jun 2020 09:23:48 +0000 (11:23 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jun 2020 09:23:48 +0000 (11:23 +0200)
This avoids reading a trap representation from _Bool,
but shouldn't matter as far as behavior is concerned.

Zend/zend_language_scanner.l

index 4aa024a69adc771a0a8e231884c1853a2f75f384..7b5a8ab1c87375accbe64f1ccc976586240236f4 100644 (file)
@@ -2531,6 +2531,7 @@ skip_escape_conversion:
        }
 
        heredoc_label->label = estrndup(s, heredoc_label->length);
+       heredoc_label->indentation_uses_spaces = 0;
        heredoc_label->indentation = 0;
        saved_cursor = YYCURSOR;