Branch: Tag:

2018-02-23

2018-02-23 16:16:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Cpp: Conditional #pragma should now work again.

Fixes "End of file while searching for #endif." when preprocessing
files containing conditional #pragmas. Eg

#if 0
#pragma all_inline
#endif /* 0 */

929:    string_builder_strcat(&this->buf, "#pragma ");       ref_push_string(line); -  push_int(flags); +  push_int(flags & ~CPP_EXPECT_ENDIF);    apply_current(f_CPP_low_cpp_fun_num, 2);    pop_stack();    }