From eb5a4a9bed563ed9f1b4dbd4b21a30c625d9da25 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 2 Jun 2017 13:15:37 -0700 Subject: [PATCH 1/2] ApgLib/Apg.h: Fix "desctructor" -> "destructor" typo in comment --- ApgLib/Apg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApgLib/Apg.h b/ApgLib/Apg.h index 12c9ad9..33acfa7 100644 --- a/ApgLib/Apg.h +++ b/ApgLib/Apg.h @@ -610,7 +610,7 @@ typedef struct{ APG_STAT sTotal; /**< node stats for the total of all of the above nodes*/ } APG_PARSER_STATS; -// parser constructor/desctructor +// parser constructor/destructor void* vpParserCtor(void* vpParserInit, PFN_ALERT pfnAlertHandler); void vParserDtor(void* vpCtx); From 17a488ea4d35a5f9f6065bacee760217f4fe650c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 2 Jun 2017 13:34:47 -0700 Subject: [PATCH 2/2] ApgLib/Apg.h: Fix "simialar" -> "similar" typo in comment --- ApgLib/Apg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApgLib/Apg.h b/ApgLib/Apg.h index 33acfa7..7f855a8 100644 --- a/ApgLib/Apg.h +++ b/ApgLib/Apg.h @@ -134,7 +134,7 @@ seriously impacts the parser's performance and forces the inclusion of the IO li When this macro is not defined, the tracing code is not compiled or included in the library, resulting in not only better preformance but a significanly smaller footprint. -For simialar reasons, _APG_CFG_STATS must be defined to enable the collection of parsing statistics. +For similar reasons, _APG_CFG_STATS must be defined to enable the collection of parsing statistics. Statistics collection can be vitally important when optimizing a parser, especially through the use of UDTs, but usually serves no purpose in a release or production version. */