OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix multi-line comment regular expression to handle (non) nested comments.
[android-x86/external-mesa.git]
/
tests
/
063-comments.c
1
/* this is a comment */
2
// so is this
3
// */
4
f = g/**//h;
5
/*//*/l();
6
m = n//**/o
7
+ p;
8
/* this
9
comment spans
10
multiple lines and
11
contains *** stars
12
and slashes / *** /
13
and other stuff.
14
****/
15
more code here
16
/* Test that /* nested
17
comments */
18
are not treated like comments.
19
/*/ this is a comment */
20
/*/*/