1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

[language] add inline comments and allow multiline comments

This commit is contained in:
Étienne Fildadut 2024-01-16 17:40:26 +01:00
parent a702f250f9
commit 6d9c3dd403
7 changed files with 50 additions and 20 deletions

View file

@ -11,5 +11,5 @@
|{{1,2,4,
/* hey */3,
9
/* hoy
-- hoy
,6}}

View file

@ -11,5 +11,5 @@
|{[1,2,4,
/* hey */3,
9
/* hoy
-- hoy
,6]}

View file

@ -1,9 +1,23 @@
/*hey couic + 5*/
--hey couic + 5
/*nested /*comments*/ d*/
--nested /*comments*/ d--
/* mul
ti
line
error("d")
*/
2 /*end of line*/
2 --end of line--
/*start of line*/ 3
--start of line-- 3
5 + /*middle*/ 3
5 + --middle-- 3

View file

@ -11,5 +11,5 @@
|{(1,2,4,
/* hey */3,
9
/* hoy
-- hoy
,6)}