]> gcc.gnu.org Git - gcc.git/commit
Objective-C/C++: Ensure sufficient setup for the preprocessor.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 9 Jan 2024 17:31:41 +0000 (17:31 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 28 Apr 2024 14:37:17 +0000 (15:37 +0100)
commitacfa562eaa440bf2bd5bd09035bd8bbde5d37d60
treef24c2fb072dd311f90989edc190a73fb42d869bb
parent310b047f4b723e0dd21a212c8ba051c380030cf4
Objective-C/C++: Ensure sufficient setup for the preprocessor.

The tokenizer makes use of functions that determine if identifiers
are interface or class names, and those functions need a hash map
to be set up.

This ensures that these are initialized before pre-process-only
jobs are run.

gcc/objc/ChangeLog:

* objc-act.c (objc_init): Initialize interface and class
name hash maps before the preprocessor uses them.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
(cherry picked from commit 60f58d0630805e8dce79f5489658fd83e42fa8f1)
gcc/objc/objc-act.c
This page took 0.055366 seconds and 5 git commands to generate.