lex quotation marks correctly
parent
8eb9b32220
commit
31a373441a
@ -0,0 +1,2 @@
|
||||
#lang brag
|
||||
start: "a" "\"" "'" 'a' '"' '\''
|
@ -0,0 +1,6 @@
|
||||
#lang racket/base
|
||||
(require brag/examples/quotation-marks
|
||||
brag/support
|
||||
rackunit)
|
||||
|
||||
(check-equal? (parse-tree "a\"'a\"'") '(start "a" "\"" "'" "a" "\"" "'"))
|
Loading…
Reference in New Issue