summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authormillaway <millaway>2002-08-14 00:46:59 +0000
committermillaway <millaway>2002-08-14 00:46:59 +0000
commit679a63011df105dffab6aea01716920aaa17ca08 (patch)
tree272b93a66e3c1d2e4ea4805f7093c37e7393d229 /flexdef.h
parent06649eb9d87fc487eb43d53b4e36584af301e097 (diff)
downloadflex-679a63011df105dffab6aea01716920aaa17ca08.tar.gz
Start condition prefixes attempts to adjust to user preferences.
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/flexdef.h b/flexdef.h
index 0fb12e2..a7effb5 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -1078,4 +1078,16 @@ extern jmp_buf flex_main_jmp_buf;
/* Removes all \n and \r chars from tail of str. returns str. */
extern char* chomp(char* str);
+/* converts str to lowercase. returns str. */
+extern char * strlower (char *str);
+
+/* converts str to lowercase. returns str. */
+extern char * strupper (char *str);
+
+/* guess case preference for str */
+extern int case_preference (const char* str);
+
+/* creates a name-space safe copy of start cond name in buf. returns buf */
+extern char * fix_scname (char * buf, const char * name);
+
#endif /* not defined FLEXDEF_H */