Changeset 33963 for trunk/Ohana/src/opihi/lib.shell/ListOps.c
- Timestamp:
- May 30, 2012, 1:46:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/opihi/lib.shell/ListOps.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/Ohana/src/opihi/lib.shell/ListOps.c
r33662 r33963 116 116 117 117 status = !strcmp (comm, "for"); 118 free (comm); 119 return (status); 120 } 121 122 int is_foreach_loop (char *line) { 123 124 int status; 125 char *comm; 126 127 comm = thisword (line); 128 if (comm == (char *) NULL) return (FALSE); 129 130 status = !strcmp (comm, "foreach"); 118 131 free (comm); 119 132 return (status); … … 266 279 status |= is_macro_create (line); 267 280 status |= is_for_loop (line); 281 status |= is_foreach_loop (line); 268 282 status |= is_list_data (line); 269 283 status |= is_loop (line);
Note:
See TracChangeset
for help on using the changeset viewer.
