mojoshader_preprocessor.c
changeset 895 a2aacb5796bc
parent 894 1847405a16c6
child 896 7a7989b18117
equal deleted inserted replaced
894:1847405a16c6 895:a2aacb5796bc
  1562 } // handle_macro_args
  1562 } // handle_macro_args
  1563 
  1563 
  1564 
  1564 
  1565 static int handle_pp_identifier(Context *ctx)
  1565 static int handle_pp_identifier(Context *ctx)
  1566 {
  1566 {
  1567     if (ctx->recursion_count++ >= 256)  // !!! FIXME: necessary now?
  1567     if (ctx->recursion_count++ >= 256)  // !!! FIXME: gcc can figure this out.
  1568     {
  1568     {
  1569         fail(ctx, "Recursing macros");
  1569         fail(ctx, "Recursing macros");
  1570         return 0;
  1570         return 0;
  1571     } // if
  1571     } // if
  1572 
  1572