Extract undef directives

This commit is contained in:
Tamas Vajk
2021-01-19 17:22:51 +01:00
parent 9b405144ff
commit 3740aba4a8
7 changed files with 50 additions and 1 deletions

View File

@@ -331,7 +331,11 @@ using_directive_location(
unique int id: @using_directive ref,
int loc: @location ref);
@preprocessor_directive = @pragma_warning | @pragma_checksum | @directive_define;
@preprocessor_directive = @pragma_warning | @pragma_checksum | @directive_define | @directive_undefine;
directive_undefines(
unique int id: @directive_undefine,
string name: string ref);
directive_defines(
unique int id: @directive_define,