Skip to content

Commit b8e8e34

Browse files
committed
Fixed comments to be able to build with old re2c in AppVeyor [win build]
1 parent a9158c5 commit b8e8e34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parser/scanner.re

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,11 @@ int xx_get_token(xx_scanner_state *s, xx_scanner_token *token) {
485485
return 0;
486486
}
487487
488-
// interned strings, allowing to instantiate strings
488+
/* interned strings, allowing to instantiate strings */
489489
ISTRING = ([~]["] ([\\]["]|[\\].|[\001-\377]\[\\"])* ["]);
490490
ISTRING {
491-
start++; // ~
492-
start++; // "
491+
start++; /* ~ */
492+
start++; /* " */
493493
token->opcode = XX_T_ISTRING;
494494
token->value = estrndup(start, YYCURSOR - start - 1);
495495
token->len = YYCURSOR - start - 1;

0 commit comments

Comments
 (0)