Not renaming T

2 views
Skip to first unread message

Waldek Hebisch

unread,
12:26 PM (10 hours ago) 12:26 PM
to fricas...@googlegroups.com
Currently symbol 'T' is Spad source code is renamed to 'T$'.
This couses troubles when showing such symbol and with record
and union selectors.

Attached is a patch that blocks this renaming. It seems that
relatively small change is enough to compensate. Namely,
Lisp does not allow assigning values to 'T' and using it
as a name of function argument. So we need to rename
local variables and unction arguments. But AFAICS in
other places we can leave 'T' alone.

With this patch there should be no longer unexpected 'T$'
in printouts and access to record fields should be the
same in Spad compiler and in the intepreter.

--
Waldek Hebisch
sum6a1.diff
Reply all
Reply to author
Forward
0 new messages