diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-05 23:57:38 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-05 23:57:59 +0200 |
| commit | e38f23a1bd6e0ee093655e1f241e524795f21fec (patch) | |
| tree | 5a5dd8223f6a01dd4ea2ec37a399b76a7519b6e3 /boot | |
| parent | a9f6cfb6a8b6d38057faca067c015da1f72cf62d (diff) | |
| download | elna-e38f23a1bd6e0ee093655e1f241e524795f21fec.tar.gz | |
Support single-line comments
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/lexer.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/lexer.ll b/boot/lexer.ll index 4452956..c6a5498 100644 --- a/boot/lexer.ll +++ b/boot/lexer.ll @@ -76,6 +76,7 @@ EXPONENT [eE][+-]?[[:digit:]]+ return yy::parser::make_YYEOF(this->location); } } +--[^\n]* ; \(\* { this->comment_start = this->location; BEGIN(IN_COMMENT); |
