all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob f3357ea24429e471569c65794622d4574b4d8254 1391 bytes (raw)
name: test/src/syntax-resources/syntax-comments.txt 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
 
/* This file is a test file for tests of the comment handling in src/syntax.c.
   This includes the testing of comments which figure in parse-partial-sexp
   and scan-lists.  */

/* Straight C comments */
1/* comment */1
2/**/2
3// comment
3
4//
4
5/*/5
6*/6
7/* \*/7
8*/8
9/* \\*/9
10*/10
11//  \
12
11
13//  \\
14
13
15/* /*/15

/* C Comments within lists */
59}59
50{ /*70 comment */71 }50
51{ /**/ }51
52{ //72 comment
73}52
53{ //
}53
54{ //74 \
}54
55{/* */}55
56{ /*76 \*/80 }56
57*/77
58}58
60{ /*78 \\*/79}60


/* Straight Pascal comments (not nested) */
20}20
21{ Comment }21
22{}22
23{
}23
24{
25{25
}24
26{ \}26


/* Straight Lisp comments (not nested) */
30
30
31; Comment
31
32;;;;;;;;;
32
33;        \
33

/* Lisp comments within lists */
40)40
41(;90 comment
91)41
42(;92\
93)42
43( ;94
95

/* Nested Lisp comments */
100|#100
101#|#
102#||#102
103#| Comment |#103
104#| Comment
|#104
105#|#|#105
106#| #| Comment |# |#106
107#|#|#|#|#|#|#|#|#| Comment |#|#|#|#|#|#|#|#|#107

/* Mixed Lisp comments */
110; #|
110
111#| ; |#111

/* Comments and purported comments containing string delimiters. */
120/* "string" */120
121/* "" */121
122/* " */122
130/*
" " */130
" "*/123
124/* " ' */124
126/*
" ' */126
127/* " " " " " */127
128/* " ' "  ' " ' */128
129/*   ' "  ' " ' */129
" ' */125

Local Variables:
mode: fundamental
eval: (set-syntax-table (make-syntax-table))
End:
999

debug log:

solving f3357ea244 ...
found f3357ea244 in https://yhetil.org/emacs/20201119211822.GE6259@ACM/
found a292d816b9 in https://git.savannah.gnu.org/cgit/emacs.git
preparing index
index prepared:
100644 a292d816b9dc7eed4a33a75f6928d053101b5784	test/src/syntax-resources/syntax-comments.txt

applying [1/1] https://yhetil.org/emacs/20201119211822.GE6259@ACM/
diff --git a/test/src/syntax-resources/syntax-comments.txt b/test/src/syntax-resources/syntax-comments.txt
index a292d816b9..f3357ea244 100644

Checking patch test/src/syntax-resources/syntax-comments.txt...
Applied patch test/src/syntax-resources/syntax-comments.txt cleanly.

index at:
100644 f3357ea24429e471569c65794622d4574b4d8254	test/src/syntax-resources/syntax-comments.txt

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.