IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40656 for trunk


Ignore:
Timestamp:
Mar 29, 2019, 5:12:57 AM (7 years ago)
Author:
eugene
Message:

add thisref to handle nested variables in lists

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/shell.h

    r39457 r40656  
    88
    99# define ISVAR(a) (isalnum (a) || (a == ':') || (a == '_'))
     10# define ISREF(a) (isalnum (a) || (a == '_'))
    1011# define ISWORD(a,q) ((q) ? (a != '"') : (isalnum(a) || (a == '/') || (a == '.') || (a == '_') || (a == '-')))
    1112# define ISNUM(c) (isdigit(c) || (c == '-') || (c == '.'))
     
    146147char         *lastword                  PROTO((char *, char *));
    147148char         *thisvar                   PROTO((char *));
     149char         *thisref                   PROTO((char *));
    148150char         *aftervar                  PROTO((char *));
    149151char         *lastvar                   PROTO((char *, char *));
Note: See TracChangeset for help on using the changeset viewer.