Changeset b47c991 in tol for tolsh


Ignore:
Timestamp:
Jun 20, 2011, 1:13:12 PM (15 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
b50906a
Parents:
f5c1a77
Message:

refs #1259, implementamos el argumento '-np' en tol::initlibrary, interpretamos la opcion -np en tolsh y tolbase

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3655 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolsh/tolsh.vfs/lib/app-tolsh/tolsh.tcl

    rf5c1a77 rb47c991  
    3232  set options(lang)    0
    3333  set options(initlib) 1
     34  set options(iniproject) 1
    3435  set options(compile) ""
    3536  set options(vmode)   ""
    … …  
    4647#
    4748#    -i       --> do not include initLibrary
     49#    -np      --> do not load _iniproject.tol
    4850#    -c"..."  --> compile a tol expression
    4951#    -c "..." --> compile a tol expression
    … …  
    9294        #
    9395        set options(initlib) 0
     96      } elseif {$opt eq "np"} {
     97        set $options(iniproject) 0
    9498      } elseif {[string index $opt 0] eq "c"} {
    9599        if {[string length $opt]>1} {
    … …  
    226230  puts {
    227231    -i file  --> include a file but not initLibrary
     232    -np      --> do not load _iniproject.tol
    228233    -c"..."  --> compile a tol expression
    229234    -c "..." --> compile a tol expression
    … …  
    386391
    387392    if {$options(initlib)} {
    388       tol::initlibrary
     393      tol::initlibrary $options(iniproject)
    389394    }
    390395
Note: See TracChangeset for help on using the changeset viewer.