Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Homework 02 / commonlisp2html.l
diff options
context:
space:
mode:
Commit295b3464c34cb63f600264a428cfb8c57ab5cc62 (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-11-16 23:29:04 +0200
Committer
 Syndamia <kamen@syndamia.com>
2022-11-16 23:29:04 +0200
Files6e38053019727c6c62c17305e4c8188087ae2cd2 /Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l
uni-projects-295b3464c34cb63f600264a428cfb8c57ab5cc62.tar
uni-projects-295b3464c34cb63f600264a428cfb8c57ab5cc62.tar.gz
uni-projects-295b3464c34cb63f600264a428cfb8c57ab5cc62.zip
Parentba91b1efb380372c8369e773d0dce1952147d94c (diff)
[IPL/HW02] Simplified some functions and properly implemented code folding
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l2
diff --git a/Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l b/Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l
index cbb226f..963cba8 100644
--- a/Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l
+++ b/Year 2/Implementation of Programming Languages/Homework 02/commonlisp2html.l
@@ -55,7 +55,7 @@ CONST_VAR \+([0-9A-z.?-_])+\+
\n { return NEWLINE; }
/* flex catches the longest possibility, so if some variable name contains a known word (function, macro, etc.), this will prevent it from highlighting */
-[A-z]+|" "|\t { yylval = strdup(yytext); return OTHER; }
+[A-z!-'*-@]+|" "|\t { yylval = strdup(yytext); return OTHER; }
%%