cstring_free (exname);
}
+
+ cscannerHelp_handleNewLine (); // evans 2003-10-27: pragment increments line
}
else if (cstring_equalPrefixLit (olc, "ident"))
{
/* Some pre-processors will leave these in the code. Ignore rest of line */
+ cscannerHelp_handleNewLine (); // evans 2003-10-27: ident increments line
}
+
/*
** Yuk...Win32 filenames can have spaces in them...we need to read
** to the matching end quote.
** We handle a plain # in the input file, by echoing it, and ignoring it in the post-pp-file.
*/
mstring_free (ol);
+ cscannerHelp_handleNewLine (); // evans 2003-10-27: increments line
return FALSE;
} else {
voptgenerror
message ("Unrecognized pre-processor directive: #%s",
cstring_fromChars (ol)),
g_currentloc);
+ cscannerHelp_handleNewLine (); // evans 2003-10-27: increments line
}
sfree (ol);
{
if (ctbase_isConj (c))
{
- return ctbase_typeId (ctype_getCtbase (ctbase_getConjA (c)));
+ if (ctype_isUA (ctbase_getConjA (c))) {
+ return ctbase_typeId (ctype_getCtbase (ctbase_getConjA (c)));
+ } else if (ctype_isUA (ctbase_getConjB (c))) {
+ return ctbase_typeId (ctype_getCtbase (ctbase_getConjB (c)));
+ } else {
+ llcontbug (message ("ctbase_typeId: bad call: %q", ctbase_unparse (c)));
+ return typeId_invalid;
+ }
}
else
{
{
if (!sRefSet_isUndefined (s))
{
- llassertprint (s->entries < 1000, ("sRefSet free size: %d", s->entries));
+ /* evans 2003-10-20: increase size sanity limit from 1000 */
+ llassertprint (s->entries < 99999, ("sRefSet free size: %d", s->entries));
sfree (s->elements);
sfree (s);
Finished checking --- 1 code warning, as expected
ulrich.c: (in function utl_calloc)
-ulrich.c:14:13: Possibly null storage newblock returned as non-null: newblock
+ulrich.c:15:12: Possibly null storage newblock returned as non-null: newblock
ulrich.c:12:16: Storage newblock may become null
Finished checking --- 1 code warning, as expected