Ignore:
Timestamp:
Feb 12, 2007, 9:16:29 AM (12 years ago)
Author:
eridius@…
Message:

Remove some unnecessary quotes in the remaining evals - eval will concat its args so they are unnecessary, and this way it will still syntax-highlight

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r21951 r21953  
    161161proc option_proc {option args} {
    162162    global option_procs $option
    163     eval "lappend option_procs($option) $args"
     163    eval lappend option_procs($option) $args
    164164    # Add a read trace to the variable, as the option procedures have no access to reads
    165165    trace variable $option rwu option_proc_trace
     
    10751075        "
    10761076    }
    1077     eval "ditem_append $ditem provides $args"
     1077    eval ditem_append $ditem provides $args
    10781078}
    10791079
    10801080proc target_requires {ditem args} {
    1081     eval "ditem_append $ditem requires $args"
     1081    eval ditem_append $ditem requires $args
    10821082}
    10831083
    10841084proc target_uses {ditem args} {
    1085     eval "ditem_append $ditem uses $args"
     1085    eval ditem_append $ditem uses $args
    10861086}
    10871087
    10881088proc target_deplist {ditem args} {
    1089     eval "ditem_append $ditem deplist $args"
     1089    eval ditem_append $ditem deplist $args
    10901090}
    10911091
    10921092proc target_prerun {ditem args} {
    1093     eval "ditem_append $ditem prerun $args"
     1093    eval ditem_append $ditem prerun $args
    10941094}
    10951095
    10961096proc target_postrun {ditem args} {
    1097     eval "ditem_append $ditem postrun $args"
     1097    eval ditem_append $ditem postrun $args
    10981098}
    10991099
    11001100proc target_runtype {ditem args} {
    1101     eval "ditem_append $ditem runtype $args"
     1101    eval ditem_append $ditem runtype $args
    11021102}
    11031103
    11041104proc target_state {ditem args} {
    1105     eval "ditem_append $ditem state $args"
     1105    eval ditem_append $ditem state $args
    11061106}
    11071107
    11081108proc target_init {ditem args} {
    1109     eval "ditem_append $ditem init $args"
     1109    eval ditem_append $ditem init $args
    11101110}
    11111111
Note: See TracChangeset for help on using the changeset viewer.