Browse Source

parse: Ignore non-common entries. Not finished

Serj Kalichev 2 years ago
parent
commit
a21a9f8ba7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      klish/ksession/ksession_parse.c

+ 5 - 0
klish/ksession/ksession_parse.c

@@ -62,6 +62,11 @@ static kpargv_status_e ksession_parse_arg(kentry_t *current_entry,
 
 	purpose = kpargv_purpose(pargv);
 
+	// Ignore entries with non-COMMON purpose. These entries are for special
+	// processing and will be ignored here.
+//	if (kentry_purpose(entry) != KENTRY_PURPOSE_COMMON)
+//		return KPARSE_NOTFOUND;
+
 	// Is entry candidate to resolve current arg?
 	// Container can't be a candidate.
 	if (!kentry_container(entry)) {