| |
| | [No title] |
 | | A quick trick is to make a variable and create a // link to it. |
 | | // ------------------------------------------------------------------------ void FTN::declare_const(char *name, char *iname, DataType *type, char *value) { char *tm; if ((tm = typemap_lookup("const",typemap_lang,type,name,name,iname))) { String str = tm; str.replace("$value",value); //fprintf(f_init,"%s\n", (char *) str); } else { fprintf(stderr,"%s : Line %d. |
 | | Unable to create constant %s = %s\n", input_file, line_number, type->print_type(), value); } if (doc_entry) { doc_entry->usage = iname; } } |
| www.tac.dk /software/viz/src/ftn/ftn.cxx (416 words) |
|