summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Youngman <git@nathany.com>2012-10-27 14:08:35 -0600
committerNathan Youngman <git@nathany.com>2012-10-27 14:08:35 -0600
commit199a6437c32b843ba2c2c20c8b7966db5ceb0826 (patch)
tree8f4c8e59b4d7da26fc05dab7575a026ff0350332
parent31bfa4e3d3c6e033080492b3a0ec037150cad38f (diff)
downloadcoderay-avrasm-scanner.tar.gz
lint: duplicate character classavrasm-scanner
-rw-r--r--lib/coderay/scanners/avrasm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/scanners/avrasm.rb b/lib/coderay/scanners/avrasm.rb
index b412fb3..5430266 100644
--- a/lib/coderay/scanners/avrasm.rb
+++ b/lib/coderay/scanners/avrasm.rb
@@ -20,7 +20,7 @@ module Scanners
add(PREDEFINED_TYPES, :pre_type).
add(PREDEFINED_CONSTANTS, :pre_constant)
- ESCAPE = / [rbfnrtv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
+ ESCAPE = / [rbfntv\n\\'"] | x[a-fA-F0-9]{1,2} | [0-7]{1,3} /x
UNICODE_ESCAPE = / u[a-fA-F0-9]{4} | U[a-fA-F0-9]{8} /x
def scan_tokens tokens, options