diff options
[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.l | 2 |
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; } %% |
