Added 'Misc./rasterpython_eremias++/token_list.tcl'
This commit is contained in:
10
Misc./rasterpython_eremias++/token_list.tcl
Normal file
10
Misc./rasterpython_eremias++/token_list.tcl
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
source debug/instructions.tcl
|
||||||
|
|
||||||
|
proc make_token_list {is} {
|
||||||
|
puts -nonewline "%token"
|
||||||
|
foreach i $is {
|
||||||
|
puts -nonewline [format " I%s" [string toupper [lindex $i 0]]]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
make_token_list $instructions
|
Reference in New Issue
Block a user