proposal for new code
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Fri, 5 Sep 2003 13:56:39 +0000 (13:56 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Fri, 5 Sep 2003 13:56:39 +0000 (13:56 +0000)
[r1803]

ir/ident/ident.h

index 9970315..56c5b4e 100644 (file)
@@ -112,6 +112,16 @@ int id_is_prefix (ident *prefix, ident *id);
  */
 int id_is_suffix (ident *suffix, ident *id);
 
+/**
+ * Returns true if infix is a contained in id.  (Can be suffix or prefix)
+ *
+ * @param infix  - the infix
+ * @param id     - the ident to search in
+ *
+ * @see new_get_id_str(), id_from_str(), get_id_str(), id_is_prefix()
+ */
+//int id_contains(ident *infix, ident *id);
+
 /**
  * Return true if an ident contains a given character.
  *