[5478] in SIPB bug reports

home help back first fref pref prev next nref lref last post

Bug in tgrind definitions file for C++

daemon@ATHENA.MIT.EDU (wchuang@MIT.EDU)
Tue Aug 22 14:00:49 1995

From: wchuang@MIT.EDU
Date: Tue, 22 Aug 95 14:00:25 -0400
To: bug-sipb@MIT.EDU


This bug concerns "tgrind", specifically the "vgrindefs" defintion file
which it uses (in /mit/sipb/lib/vgrindefs).  The entry for C++ contains:

	ab=//:

which is supposed to state that // is an alternate comment begin token.
That should actually be "ab=////:" instead.  If you create a sample C++
file with comments like:

	//This is a comment

and use "tgrind -latex -lc++ file.CC > file.tex" and look over file.tex,
you'll see what happens (you end up with:

	\L{\LB{\C{}\/\/TThis is a comment}}

notice the duplicated "T").

-William

home help back first fref pref prev next nref lref last post