Skip to content

Commit

Permalink
Added a FIXME.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 13, 2011
1 parent 372e723 commit 51fcacb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mojoshader_compiler.c
Expand Up @@ -2773,6 +2773,14 @@ static const MOJOSHADER_astDataType *type_check_ast(Context *ctx, void *_ast)

case MOJOSHADER_AST_STRUCT_DECLARATION:
{
// !!! FIXME: We don't handle struct predeclaration at all right now
// !!! FIXME: (neither does the grammar)...not only does that mean
// !!! FIXME: you need to know the struct definition up front, but
// !!! FIXME: you can't do "struct XXX *next;" for a self-referencing
// !!! FIXME: linked list struct thing. This probably isn't a big
// !!! FIXME: deal, as there aren't (CURRENTLY!) pointers in HLSL,
// !!! FIXME: but you never know.

const MOJOSHADER_astStructMembers *mbrs;

// !!! FIXME: count this during parsing?
Expand Down

0 comments on commit 51fcacb

Please sign in to comment.