From 685194d457dc8e2750b4b41ef8799a80482c11b5 Mon Sep 17 00:00:00 2001 From: AYM1607 Date: Mon, 6 May 2019 16:35:53 -0500 Subject: [PATCH] Removed the ends of line from the comments regex --- final_lang/fort.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/final_lang/fort.py b/final_lang/fort.py index b090c1f..252f681 100644 --- a/final_lang/fort.py +++ b/final_lang/fort.py @@ -170,7 +170,7 @@ t_plus = r'\+' t_minus = r'-' t_mul = r'\*' t_string = r'\'[a-zA-Z0-9 \?\:\t\r\n\f()\[\]\&\!\@\#\$\%\^\-\=\+\/\,]*\'' -t_comment = r'![a-zA-Z0-9 \?\:\t\r\n\f()\[\]\&\!\@\#\$\%\^\-\=\+\/\,]*\n' +t_comment = r'![a-zA-Z0-9 \?\:\t\r\f()\[\]\&\!\@\#\$\%\^\-\=\+\/\,]*\n' t_or = r'\.or\.' t_and = r'\.and\.' t_not = r'\.not\.'