]> granicus.if.org Git - graphviz/commitdiff
lexstate_t: standardize on more modern '//' comments
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 19:44:38 +0000 (11:44 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 6 Dec 2021 00:29:45 +0000 (16:29 -0800)
lib/common/htmllex.c

index 3340ec49809cb269b9e1812a5bab0035a73fc98b..53b1210c0f4517298833d81ad888df0d651fc5df 100644 (file)
@@ -36,16 +36,16 @@ typedef struct {
 #ifdef HAVE_EXPAT
     XML_Parser parser;
 #endif
-    char* ptr;                 /* input source */
-    int tok;                   /* token type   */
-    agxbuf* xb;                        /* buffer to gather T_string data */
-    agxbuf  lb;                        /* buffer for translating lexical data */
-    char warn;                 /* set if warning given */
-    char error;                        /* set if error given */
-    char inCell;               /* set if in TD to allow T_string */
-    char mode;                 /* for handling artificial <HTML>..</HTML> */
-    char *currtok;             /* for error reporting */
-    char *prevtok;             /* for error reporting */
+    char* ptr;         // input source
+    int tok;           // token type
+    agxbuf* xb;        // buffer to gather T_string data
+    agxbuf lb;         // buffer for translating lexical data
+    char warn;         // set if warning given
+    char error;        // set if error given
+    char inCell;       // set if in TD to allow T_string
+    char mode;         // for handling artificial <HTML>..</HTML>
+    char *currtok;     // for error reporting
+    char *prevtok;     // for error reporting
     size_t currtoklen;
     size_t prevtoklen;
 } lexstate_t;