Blame view

bower_components/prism/tests/languages/applescript/comment_feature.test 405 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  -- foo bar

  # foo bar

  (* foo

  bar *)

  (* foo

  (* bar *)

  *)

  

  ----------------------------------------------------

  

  [

  	["comment", "-- foo bar"],

  	["comment", "# foo bar"],

  	["comment", "(* foo\r\nbar *)"],

  	["comment", "(* foo\r\n(* bar *)\r\n*)"]

  ]

  

  ----------------------------------------------------

  

  Checks for single-line and multi-line comments.

  Also checks for one level of nesting.