diff options
author | ambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140> | 2012-12-04 01:40:20 +0400 |
---|---|---|
committer | ambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140> | 2012-12-04 01:40:20 +0400 |
commit | 509167b3b3e81b07b918ac2dea057993b9acb1e2 (patch) | |
tree | 480f7c85122779f6a29a39b59da8317c9aa10c04 /examples | |
parent | 10d51b7a0a5cead44b583197e8388000ae02216d (diff) |
ncd: NCDAst: implement include_guard directive
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ncd_parser_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/ncd_parser_test.c b/examples/ncd_parser_test.c index 65d07f1..ac913b5 100644 --- a/examples/ncd_parser_test.c +++ b/examples/ncd_parser_test.c @@ -276,6 +276,10 @@ int main (int argc, char **argv) printf("include path=%s\n", NCDProgramElem_IncludePathData(elem)); } break; + case NCDPROGRAMELEM_INCLUDE_GUARD: { + printf("include_guard id=%s\n", NCDProgramElem_IncludeGuardIdData(elem)); + } break; + default: ASSERT(0); } } |