| author | |
| committer | |
| log | d11dfc9b9c9b6bb5933f10df8b618184f921c033 |
| tree | 984b7e203173b3aa028fdac5d642ba93896abbde |
| parent | 6101a1372086d374dab7fa930834c5c80f87e4f9 |
| signature |
2 files changed, 3 insertions(+), 1 deletions(-)
doc/langref/grammar.peg+1-1| ... | ... | @@ -429,7 +429,7 @@ container_doc_comment <- ('//!' non_control_utf8* [ \n]* skip)+ |
| 429 | 429 | doc_comment <- ('///' non_control_utf8* [ \n]* skip)+ |
| 430 | 430 | line_comment <- '//' ![!/] non_control_utf8* / '////' non_control_utf8* |
| 431 | 431 | line_string <- '\\\\' non_control_utf8* [ \n]* |
| 432 | skip <- ([ \n] / line_comment)* | |
| 432 | skip <- ([ \n\t\r] / line_comment)* | |
| 433 | 433 | |
| 434 | 434 | CHAR_LITERAL <- ['] char_char ['] skip |
| 435 | 435 |
lib/std/zig/parser_generated_oracle.zig+2| ... | ... | @@ -2414,6 +2414,8 @@ const Parser = struct { |
| 2414 | 2414 | if ((p.i < p.source.len and switch (p.source[p.i]) { |
| 2415 | 2415 | ' '...' ', |
| 2416 | 2416 | '\n'...'\n', |
| 2417 | '\t'...'\t', | |
| 2418 | '\r'...'\r', | |
| 2417 | 2419 | => blk_4: { |
| 2418 | 2420 | p.i += 1; |
| 2419 | 2421 | break :blk_4 true; |