Browse code

fix C++ comments

Tomasz Kojm authored on 2010/03/25 01:40:56
Showing 3 changed files
... ...
@@ -1629,7 +1629,7 @@ static int cli_bytecode_prepare_interpreter(struct cli_bc *bc)
1629 1629
 	    assert(align);
1630 1630
 	    bcfunc->numBytes  = (bcfunc->numBytes + align-1)&(~(align-1));
1631 1631
 	    map[j] = bcfunc->numBytes;
1632
-	    //printf("%d -> %d, %u\n", j, map[j], typesize(bc, ty));
1632
+	    /* printf("%d -> %d, %u\n", j, map[j], typesize(bc, ty)); */
1633 1633
 	    bcfunc->numBytes += typesize(bc, ty);
1634 1634
 	}
1635 1635
 	bcfunc->numBytes = (bcfunc->numBytes + 7)&~7;
... ...
@@ -448,7 +448,7 @@ int  filter_add_acpatt(struct filter *m, const struct cli_ac_patt *pat)
448 448
 				break;
449 449
 			case CLI_MATCH_SPECIAL:
450 450
 				assert(pat->special_table);
451
-//				assert(altcnt < pat->alt);
451
+				/* assert(altcnt < pat->alt); */
452 452
 				assert(pat->special_table[altcnt]);
453 453
 				switch (pat->special_table[altcnt++]->type) {
454 454
 				    case 1: /* ALT_CHAR */
... ...
@@ -26,7 +26,7 @@
26 26
  * statistics, such as which tries are used, efficiency of filtering and so on.
27 27
  * it must have as little overhead as possible */
28 28
 
29
-//#define CLI_PERF_LOGGING
29
+/* #define CLI_PERF_LOGGING */
30 30
 #ifdef CLI_PERF_LOGGING
31 31
 
32 32
 #ifndef __GNUC__