From 4c11304c8d8f8777da07c4061ca58ef0a18b3b41 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 21 Feb 2011 08:41:03 +0900 Subject: [PATCH] Documentation tweaks. --- tools/qfcc/include/qfcc.h | 18 ++++++++++-------- tools/qfcc/source/strpool.c | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/tools/qfcc/include/qfcc.h b/tools/qfcc/include/qfcc.h index a0058eaca..b478d0387 100644 --- a/tools/qfcc/include/qfcc.h +++ b/tools/qfcc/include/qfcc.h @@ -53,21 +53,23 @@ struct srcline_s { */ typedef struct pr_info_s { struct type_s *types; - - struct strpool_s *strings; - - struct codespace_s *code; struct function_s *func_head; struct function_s **func_tail; dfunction_t *functions; int num_functions; + struct strpool_s *strings; ///< progs string data + struct codespace_s *code; ///< progs code data struct defspace_s *data; ///< combined near and far data - struct defspace_s *near_data; - struct defspace_s *far_data; - struct defspace_s *entity_data; - struct defspace_s *type_data; + struct defspace_s *near_data; ///< data directly addressable by + ///< statments (address < 64k) + struct defspace_s *far_data; ///< data that might not be directly + ///< addressabe by statements (address + ///< possibly > 64k) + struct defspace_s *entity_data; ///< entity field address space. no + ///< date is stored in the progs file + struct defspace_s *type_data; ///< encoded type information. struct symtab_s *symtab; diff --git a/tools/qfcc/source/strpool.c b/tools/qfcc/source/strpool.c index 27a0ef172..4023622e4 100644 --- a/tools/qfcc/source/strpool.c +++ b/tools/qfcc/source/strpool.c @@ -274,7 +274,7 @@ make_string (char *token, char **end) break; case '>': if (options.qccx_escapes) - c = 31; // broun right end + c = 31; // brown right end else mask = 0x00; continue;