From f14c4af888dc678eefe1de323b8fe41f7387e82b Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 7 Jul 2022 18:24:49 -0400 Subject: Update tokenization spec: add CR, and minor fixes --- docs/spec/grammar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/spec/grammar.html') diff --git a/docs/spec/grammar.html b/docs/spec/grammar.html index 92b4dd64..8dde8b83 100644 --- a/docs/spec/grammar.html +++ b/docs/spec/grammar.html @@ -10,7 +10,7 @@

A program is a list of statements. Almost all statements are expressions. Namespace export statements, and valueless results stemming from ยท, or ๐•จ in a monadic block function, can be used as statements but not expressions.

PROGRAM  = โ‹„? ( STMT โ‹„ )* STMT โ‹„?
 STMT     = EXPR | nothing | EXPORT
-โ‹„        = ( "โ‹„" | "," | \n )+
+โ‹„        = ( "โ‹„" | "," | LF | CR )+
 EXPR     = subExpr | FuncExpr | _m1Expr | _m2Expr_
 EXPORT   = LHS_ELT? "โ‡"
 
-- cgit v1.2.3