瀏覽代碼

parse: Ignore non-common entries. Not finished

Serj Kalichev 2 年之前
父節點
當前提交
a21a9f8ba7
共有 1 個文件被更改,包括 5 次插入0 次删除
  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)) {