diff options
| author | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2026-03-14 13:08:58 -0500 |
|---|---|---|
| committer | Jacques Comeaux <jacquesrcomeaux@protonmail.com> | 2026-03-14 13:08:58 -0500 |
| commit | e52ff8ff8c0da0d579162b2a4d0f1e838ca85f31 (patch) | |
| tree | 55bf370b6c34f1764f79ee3418b18dbecdda08af | |
| parent | aada52132810a021a898f43daef5c90ced2a8bf0 (diff) | |
Allow square brackets in circuit lang identifiers
| -rw-r--r-- | racket/circuits/lexer.rkt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/racket/circuits/lexer.rkt b/racket/circuits/lexer.rkt index 5d3dc82..bc644de 100644 --- a/racket/circuits/lexer.rkt +++ b/racket/circuits/lexer.rkt @@ -6,7 +6,7 @@ (define-empty-tokens punct-tokens (LPAREN RPAREN EOF COMMA SEMICOLON LBRACE RBRACE)) (define-empty-tokens keyword-tokens (WIRE MODULE)) -(define-lex-abbrev ident-special-char (char-set "_|~+-^&#!")) +(define-lex-abbrev ident-special-char (char-set "_|~+-^&#![]")) ;; Lexer for circuits DSL (define circuits-lexer |
