### Godot version

Godot 4.0.1.stable

### System information

Windows 10, Forward+

### Issue description

Example code:

```gdscript
@warning_ignore("shadowed_global_identifier")
static func print_debug(msg: String):
```

the warning is ignored by pressing [ignore] in the warnings panel.

pressing it multiple times results in:
```gdscript
@warning_ignore("shadowed_global_identifier", "shadowed_global_identifier")
```


### Steps to reproduce

Shadowing a global function with a method of script:

```gdscript
@warning_ignore("shadowed_global_identifier")
static func print_debug(msg: String):
```


### Minimal reproduction project

```gdscript
@warning_ignore("shadowed_global_identifier")
static func print_debug(msg: String):
    pass
```
{ nullptr,                                          nullptr,                                        PREC_NONE }, 
		
		{ nullptr,                                          nullptr,                                        PREC_NONE }, 
		{ &GDScriptParser::parse_identifier,             	nullptr,                                        PREC_NONE }, 
		{ &GDScriptParser::parse_literal,                	nullptr,                                        PREC_NONE }, 
		
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_COMPARISON }, 
		
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_LOGIC_AND }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_LOGIC_OR }, 
		{ &GDScriptParser::parse_unary_operator,         	&GDScriptParser::parse_binary_not_in_operator,	PREC_CONTENT_TEST }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,			PREC_LOGIC_AND }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,			PREC_LOGIC_OR }, 
		{ &GDScriptParser::parse_unary_operator,			nullptr,                                        PREC_NONE }, 
		
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_BIT_AND }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_BIT_OR }, 
		{ &GDScriptParser::parse_unary_operator,         	nullptr,                                        PREC_NONE }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_BIT_XOR }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_BIT_SHIFT }, 
		{ nullptr,                                          &GDScriptParser::parse_binary_operator,      	PREC_BIT_SHIFT }, 
		
		{ &GDScriptParser::parse_unary_operator,         	&GDScriptParser::parse_binary_operator,      	PREC_ADDITION_SUBTRACTION }, 
		{ &GDScriptParser::parse_unary_operator,         	&GDScriptParser::parse_binary_operator,      	PREC_ADDITION_SUBTRACTION },