syntax: add factor" " syntax for unit tests etc.

locals-and-roots
Doug Coleman 2016-06-22 10:56:51 -07:00
parent 29e43ec106
commit 693d9ecef8
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@ IN: bootstrap.syntax
"![[" "![=[" "![==[" "![[" "![=[" "![==["
"[[" "[=[" "[==[" "[[" "[=[" "[==["
"factor[[" "factor[=[" "factor[==[" "factor[[" "factor[=[" "factor[==["
"factor\""
"PRIVATE<" "PRIVATE<"
"B{" "B{"
"BV{" "BV{"

View File

@ -83,6 +83,11 @@ IN: bootstrap.syntax
"]==]" parse-multiline-string suffix! "]==]" parse-multiline-string suffix!
] define-core-syntax ] define-core-syntax
! Different from parse-multiline-string
"factor\"" [
lexer get skip-blank parse-string suffix!
] define-core-syntax
"factor[[" [ "factor[[" [
"]]" parse-multiline-string suffix! "]]" parse-multiline-string suffix!
] define-core-syntax ] define-core-syntax