stage4/generate_c/generate_c.cc
changeset 884 a51a3bb4d613
parent 883 f1b501f47c1f
equal deleted inserted replaced
883:f1b501f47c1f 884:a51a3bb4d613
  1324   TRACE("function_declaration_c");
  1324   TRACE("function_declaration_c");
  1325 
  1325 
  1326   /* (A) Function declaration... */
  1326   /* (A) Function declaration... */
  1327   /* (A.1) Function return type */
  1327   /* (A.1) Function return type */
  1328   s4o.print("// FUNCTION\n");
  1328   s4o.print("// FUNCTION\n");
       
  1329   s4o.print("static ");
  1329   symbol->type_name->accept(*this); /* return type */
  1330   symbol->type_name->accept(*this); /* return type */
  1330   s4o.print(" ");
  1331   s4o.print(" ");
  1331   /* (A.2) Function name */
  1332   /* (A.2) Function name */
  1332   symbol->derived_function_name->accept(*this);
  1333   symbol->derived_function_name->accept(*this);
  1333   s4o.print("(");
  1334   s4o.print("(");