neingeist
/
arduinisten
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
378 B
Tcl

# gensym.tcl - Generate new symbols.
# Copyright (C) 1997 Cygnus Solutions.
# Written by Tom Tromey <tromey@cygnus.com>.
# Internal counter used to provide new symbol names.
defvar GENSYM_counter 0
# Return a new "symbol". This proc hopes that nobody else decides to
# use its prefix.
proc gensym {} {
global GENSYM_counter
return __gensym_symbol_[incr GENSYM_counter]
}