From 1afb23f689413aed8655cbe9d0d11bf90805254b Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sat, 8 Sep 2007 01:34:51 +0000 Subject: [PATCH] Fix a couple of Doxygen nits. svn path=/trunk/yasm/; revision=1931 --- libyasm/bytecode.h | 6 +++++- libyasm/expr.h | 14 +++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/libyasm/bytecode.h b/libyasm/bytecode.h index e53dc542..741aabb6 100644 --- a/libyasm/bytecode.h +++ b/libyasm/bytecode.h @@ -263,7 +263,11 @@ int yasm_bc_tobytes_common yasm_output_value_func output_value, /*@null@*/ yasm_output_reloc_func output_reloc); -#define yasm_bc__next(x) STAILQ_NEXT(x, link) +/** Get the next bytecode in a linked list of bytecodes. + * \param bc bytecode + * \return Next bytecode. + */ +#define yasm_bc__next(bc) STAILQ_NEXT(bc, link) /** Set multiple field of a bytecode. * A bytecode can be repeated a number of times when output. This function diff --git a/libyasm/expr.h b/libyasm/expr.h index 61975674..990452f2 100644 --- a/libyasm/expr.h +++ b/libyasm/expr.h @@ -56,13 +56,13 @@ typedef struct yasm_expr__item { /** Expression item data. Correct value depends on type. */ union { - yasm_bytecode *precbc; /**< Direct bytecode ref (#YASM_EXPR_PRECBC) */ - yasm_symrec *sym; /**< Symbol (#YASM_EXPR_SYM) */ - yasm_expr *expn; /**< Subexpression (#YASM_EXPR_EXPR) */ - yasm_intnum *intn; /**< Integer value (#YASM_EXPR_INT) */ - yasm_floatnum *flt; /**< Floating point value (#YASM_EXPR_FLOAT) */ - uintptr_t reg; /**< Register (#YASM_EXPR_REG) */ - unsigned int subst; /**< Subst placeholder (#YASM_EXPR_SUBST) */ + yasm_bytecode *precbc; /**< Direct bytecode ref (YASM_EXPR_PRECBC) */ + yasm_symrec *sym; /**< Symbol (YASM_EXPR_SYM) */ + yasm_expr *expn; /**< Subexpression (YASM_EXPR_EXPR) */ + yasm_intnum *intn; /**< Integer value (YASM_EXPR_INT) */ + yasm_floatnum *flt; /**< Floating point value (YASM_EXPR_FLOAT) */ + uintptr_t reg; /**< Register (YASM_EXPR_REG) */ + unsigned int subst; /**< Subst placeholder (YASM_EXPR_SUBST) */ } data; } yasm_expr__item; -- 2.40.0