#include "lclintMacros.nf"#include "basic.h"Go to the source code of this file.
Functions | |
| void | printCodePoint (void) |
Variables | |
| fileloc | g_currentloc |
| symtable | g_symtab |
| lsymbolSet | g_currentImports = lsymbolSet_undefined |
| cstring | g_codeFile = cstring_undefined |
| int | g_codeLine = 0 |
| cstring | g_prevCodeFile = cstring_undefined |
| int | g_prevCodeLine = 0 |
| FILE* | g_msgstream |
| char* | g_localSpecPath = "." |
| cstring | g_currentSpec |
| char* | g_currentSpecName |
|
|
Definition at line 56 of file globals.c. Referenced by lclbug(), lclfatalbug(), llbugaux(), llfatalbug(), and llquietbugaux(). 00057 {
00058 static bool incode = FALSE;
00059
00060 if (incode) {
00061 fprintf (stderr, "[[[ in code! ]]]\n");
00062 }
00063
00064 incode = TRUE;
00065
00066 if (cstring_isDefined (g_codeFile))
00067 {
00068 cstring temps = fileloc_unparseRaw (g_codeFile, g_codeLine);
00069
00070 fprintf (stderr, "*** Last code point: %s\n",
00071 cstring_toCharsSafe (temps));
00072
00073 cstring_free (temps);
00074
00075 if (cstring_isDefined (g_prevCodeFile))
00076 {
00077 temps = fileloc_unparseRaw (g_prevCodeFile, g_prevCodeLine);
00078 fprintf (stderr, "*** Previous code point: %s\n",
00079 cstring_toCharsSafe (temps));
00080
00081 cstring_free (temps);
00082 }
00083 }
00084
00085 incode = FALSE;
00086 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000