BAPFS Lecture 13

This commit is contained in:
2022-07-12 02:47:32 -04:00
parent 948974857a
commit 6832deb5ad
4 changed files with 1091 additions and 3 deletions
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -44,8 +44,8 @@ const TokenType = \
const TokenSpec = \
{
# Comments
TokenType.CommentLine : "^\/\/.*",
TokenType.CommentMultiLine : "^\/\\*[\\s\\S]*?\\*\\/",
TokenType.CommentLine : "^\\/\\/.*",
TokenType.CommentMultiLine : "^\\/\\*[\\s\\S]*?\\*\\/",
# Formatting
TokenType.Whitespace : "^\\s+",