Bob Nystrom
c55150d9c4
feat: add skipBlockComment parser with nesting support and three test cases
...
Implement a new skipBlockComment function in the compiler that handles nested /* */ block comments by tracking a nesting counter. The parser advances through comment characters, incrementing nesting on opening /* and decrementing on closing */. Also add three test files: comment_block.wren verifying inline and nested block comments, comment_block_at_eof.wren for a block comment at end of file without newline, and comment_line_at_eof.wren for a line comment at end of file without newline.
2013-11-14 01:09:47 +00:00
..
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-07 15:04:25 +00:00
2013-11-13 15:10:52 +00:00
2013-11-04 05:38:58 +00:00
2013-11-13 19:05:03 +00:00
2013-11-08 01:07:32 +00:00
2013-11-08 01:07:32 +00:00
2013-11-14 01:09:47 +00:00
2013-11-14 01:09:47 +00:00
2013-11-14 01:09:47 +00:00
2013-11-10 05:32:57 +00:00
2013-11-09 19:38:01 +00:00
2013-11-09 19:38:01 +00:00
2013-11-06 15:47:47 +00:00
2013-11-06 15:47:47 +00:00
2013-11-06 15:47:47 +00:00
2013-11-13 15:10:52 +00:00
2013-11-13 15:10:52 +00:00
2013-11-08 01:07:32 +00:00
2013-11-09 19:38:01 +00:00
2013-11-09 19:38:01 +00:00
2013-11-09 19:18:27 +00:00
2013-11-10 19:46:13 +00:00
2013-11-01 13:57:21 +00:00
2013-11-06 02:22:22 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-13 15:10:52 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-11-10 05:32:57 +00:00
2013-10-28 13:53:51 +00:00
2013-10-28 13:53:51 +00:00
2013-11-05 17:57:57 +00:00
2013-10-28 13:45:19 +00:00
2013-11-06 04:38:16 +00:00
2013-11-09 23:42:23 +00:00
2013-11-09 23:42:23 +00:00
2013-11-09 23:42:23 +00:00
2013-10-28 14:12:39 +00:00
2013-11-06 15:47:47 +00:00
2013-11-09 19:38:01 +00:00
2013-11-09 19:38:01 +00:00
2013-11-09 23:42:23 +00:00
2013-11-09 19:38:01 +00:00