| 1 | #ifdef RCSID |
| 2 | static char RCSid[] = |
| 3 | "$Header$"; |
| 4 | #endif |
| 5 | |
| 6 | /* |
| 7 | * Copyright (c) 1999, 2002 Michael J. Roberts. All Rights Reserved. |
| 8 | * |
| 9 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 10 | * on using and copying this software. |
| 11 | */ |
| 12 | /* |
| 13 | Name |
| 14 | tcprsnl.cpp - TADS 3 Compiler Parser - "no linker" module |
| 15 | Function |
| 16 | This module can be linked with programs that don't require any linker |
| 17 | functionality, such as for debugger or interpreter-with-eval builds. The |
| 18 | module provides dummy entrypoints for functions and methods that would |
| 19 | normally be linked from tcprsimg.cpp, so that we don't have to drag in that |
| 20 | whole file (and its dependencies) for configurations that don't need its |
| 21 | functionality. |
| 22 | Notes |
| 23 | |
| 24 | Modified |
| 25 | 04/30/99 MJRoberts - Creation |
| 26 | */ |
| 27 | |
| 28 | #include <assert.h> |
| 29 | #include <stdlib.h> |
| 30 | #include <string.h> |
| 31 | #include <stdio.h> |
| 32 | |
| 33 | #include "os.h" |
| 34 | #include "t3std.h" |
| 35 | #include "tcprs.h" |
| 36 | #include "tctarg.h" |
| 37 | #include "tcgen.h" |
| 38 | #include "vmhash.h" |
| 39 | #include "tcmain.h" |
| 40 | #include "vmfile.h" |
| 41 | #include "tcmake.h" |
| 42 | |
| 43 | void CTcSymObjBase::apply_internal_fixups() |
| 44 | { |
| 45 | assert(FALSE); |
| 46 | } |
| 47 | |
| 48 | void CTcSymObj::delete_prop_from_mod_base(tctarg_prop_id_t) |
| 49 | { |
| 50 | assert(FALSE); |
| 51 | } |
| 52 | |
| 53 | void CTcSymObj::mark_compiled_as_class() |
| 54 | { |
| 55 | assert(FALSE); |
| 56 | } |
| 57 | |
| 58 | int CTcSymbolBase::load_from_obj_file(CVmFile *, const textchar_t *, |
| 59 | tctarg_obj_id_t *, |
| 60 | tctarg_prop_id_t *, |
| 61 | ulong *) |
| 62 | { |
| 63 | assert(FALSE); |
| 64 | return 0; |
| 65 | } |
| 66 | |
| 67 | void CTcMake::write_build_config_to_sym_file(CVmFile *fp) |
| 68 | { |
| 69 | assert(FALSE); |
| 70 | } |
| 71 |