Commits

Greg Hendershott committed 46851cd

Remove examples of errors in example.rkt.

Although I found them useful to confirm that `RacketLexer' was
correctly highlighting them as errors, I did not understand that they
would cause the `pygments' unit tests to fail.

  • Participants
  • Parent commits 9616512

Comments (0)

Files changed (1)

tests/examplefiles/example.rkt

 #lang racket
 
-;; Note: This Racket file has some deliberate errors (such as invalid
-;; number literals) to demonstrate the lexer correctly highlighting
-;; them as errors.
-
 ; Single-line comment style.
 
 ;; Single-line comment style.
  #b1/1
  #b1e-1
  #b101
- #b2     ;highlight as error
  
  ;; #d
  #d-1.23
  #d-1/2
  #d1
  #d-1
- #dZ     ;highlight as error
 
  ;; No # reader prefix -- same as #d
  -1.23
  #e-1
  #e1/2
  #e-1/2
- #eZ     ;highlight as error
 
  ;; #i always float
  #i-1.23
  #i-1/2
  #i1
  #i-1
- #iZ     ;highlight as error
 
  ;; #o
  #o777.777
  #o-3/7
  #o777
  #o-777
- #o8     ;highlight as error
 
  ;; #x
  #x-f.f
  #xf.f
  #x-f
  #xf
- #xG     ;highlight as error
  )