Clean up some comment FIXMEs

This commit is contained in:
Bill Currie 2019-06-08 19:22:29 +09:00
parent e217bdd55f
commit df0316bb13
3 changed files with 7 additions and 5 deletions

View file

@ -222,7 +222,9 @@ void def_to_ddef (def_t *def, ddef_t *ddef, int aux);
/** Initialize a def referenced by the given symbol.
The symbol is checked for redefinition. (FIXME check rules)
The symbol is checked for redefinition. A symbol is considered to be
redefined if the previous definition is in the same symbol table and
of a different type or already initialized.
If \a type is null, then the def will be given the default type (as
specified by ::type_default).

View file

@ -416,7 +416,7 @@ expr_t *new_entity_expr (int entity_val);
/** Create a new field constant expression node.
\param field_val XXX
\param field_val offset? XXX
\param type The type of the field.
\param def
\return The new field constant expression node

View file

@ -105,9 +105,9 @@ extern function_t *current_func;
typedef struct param_s {
struct param_s *next;
const char *selector;
struct type_s *type; //FIXME redundant
const char *name; //FIXME redundant
struct symbol_s *symbol;
struct type_s *type;
const char *name;
struct symbol_s *symbol; //FIXME what is this for?
} param_t;
struct expr_s;