diff options
author | Alex <devnull@localhost> | 2014-08-15 12:11:02 +0300 |
---|---|---|
committer | Alex <devnull@localhost> | 2014-08-15 12:11:02 +0300 |
commit | eeaff14517a7779c28d1e3eaacdc9ad501e862e8 (patch) | |
tree | c45ba652c67b24769d937c12d3f6d6699642e3d9 /tests/examplefiles/example_elixir.ex | |
parent | 5bd7fce68011149a7850aa011889292bb5277dd2 (diff) | |
download | pygments-eeaff14517a7779c28d1e3eaacdc9ad501e862e8.tar.gz |
[Elixir] Update character escape rules
Diffstat (limited to 'tests/examplefiles/example_elixir.ex')
-rw-r--r-- | tests/examplefiles/example_elixir.ex | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/examplefiles/example_elixir.ex b/tests/examplefiles/example_elixir.ex index b2b4dc28..6a525ace 100644 --- a/tests/examplefiles/example_elixir.ex +++ b/tests/examplefiles/example_elixir.ex @@ -11,7 +11,9 @@ # Characters ?a ; ?1 ; ?\n ; ?\s ; ?\c ; ? ; ?, ?\x{12} ; ?\x{abcd} -?\x34 ; ?\xf +?\x34 ; ?\xF + +# these show that only the first digit is part of the character ?\123 ; ?\12 ; ?\7 # Atoms @@ -26,8 +28,8 @@ atom" # Strings "Hello world" -"Interspersed \x{ff} codes \7 \8 \65 \016 and \t\s\z\+ \\ escapes" -"Quotes ' inside \" \123 the \"\" \xF string \\\" end" +"Interspersed \x{ff} codes \7 \8 \65 \016 and \t\s\\s\z\+ \\ escapes" +"Quotes ' inside \" \123 the \"\" \xF \\xF string \\\" end" "Multiline string" |