7cef70c86777d4067c8b2f7097939723b6475fd9
kent
  Wed Feb 10 14:01:28 2016 -0800
Adding isSymbolString function to common string library.

diff --git src/inc/common.h src/inc/common.h
index 551122d..6907c42 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1402,30 +1402,33 @@
 /* Print label and how long it's been since last call.  Call with
  * a NULL label to initialize. */
 #if defined(__GNUC__)
 __attribute__((format(printf, 1, 2)))
 #endif
 ;
 
 /*	In case the development environment does not supply INFINITY	*/
 #if !defined(INFINITY)
 #define INFINITY (1.0/0.0)
 #endif
 
 void makeDirs(char* path);
 /* make a directory, including parent directories */
 
+boolean isSymbolString(char *s);
+/* Return TRUE if s can be used as a symbol in the C language */
+
 boolean isNumericString(char *s);
 /* Return TRUE if string is numeric (integer or floating point) */
 
 char *skipNumeric(char *s);
 /* Return first char of s that's not a digit */
 
 char *skipToNumeric(char *s);
 /* skip up to where numeric digits appear */
 
 char *splitOffNonNumeric(char *s);
 /* Split off non-numeric part, e.g. mm of mm8. Result should be freed when done */
 
 char *splitOffNumber(char *db);
 /* Split off number part, e.g. 8 of mm8. Result should be freed when done */