Changeset 19579 for trunk/Ohana/src/opihi/dvo/mextract.c
- Timestamp:
- Sep 16, 2008, 9:16:26 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/mextract.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/mextract.c
r16936 r19579 3 3 int mextract (int argc, char **argv) { 4 4 5 int i, j, k, m, n, N, Npts, NPTS, last, Nfields, Nreturn, Ncstack, Nstack;5 int i, j, k, m, n, N, Npts, NPTS, last, next, state, Nfields, Nreturn, Ncstack, Nstack; 6 6 int Nsecfilt, VERBOSE, loadImages, mosaicMode; 7 7 char **cstack, name[1024]; … … 50 50 if (fields == NULL) return (FALSE); 51 51 52 // XXX add the skyregion limits as if it were a where statement 52 // examine line for 'where' or 'match to'. 'match to' is forbidden 53 state = dbCmdlineConditions (argc, argv, last, &next); 54 if (state == DVO_DB_CMDLINE_ERROR) goto escape; 55 if (state == DVO_DB_CMDLINE_IS_MATCH) goto escape; // not allowed for mextract 53 56 54 57 // parse the remainder of the line as a boolean math expression 55 cstack = isolate_elements (argc- last, &argv[last], &Ncstack);58 cstack = isolate_elements (argc-next, &argv[next], &Ncstack); 56 59 57 60 // construct the db Boolean math stack (frees cstack)
Note:
See TracChangeset
for help on using the changeset viewer.
