From e38f23a1bd6e0ee093655e1f241e524795f21fec Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 5 Oct 2026 23:57:38 +0200 Subject: Support single-line comments --- boot/lexer.ll | 1 + 1 file changed, 1 insertion(+) (limited to 'boot/lexer.ll') 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); -- cgit v1.2.3