Compare commits
3 Commits
872392c1c5
...
310fede3ec
Author | SHA1 | Date | |
---|---|---|---|
310fede3ec | |||
a4eba4ae47 | |||
e2a037befc |
@@ -35,6 +35,8 @@ for i in range(lines):
|
||||
color = "\033[32m"
|
||||
elif tempword in keywords:
|
||||
color = "\033[95m"
|
||||
elif isnumber(tempword) or tempword == "true" or tempword == "false":
|
||||
color = "\033[96m"
|
||||
elif tempword[0] == "#":
|
||||
incom = True
|
||||
color = "\033[37m"
|
||||
@@ -55,8 +57,6 @@ for i in range(lines):
|
||||
instr = not instr
|
||||
elif tempword[0] == "\'" and tempword[len(tempword)-1] == "\'":
|
||||
color = "\033[92m"
|
||||
elif isnumber(tempword) or tempword == "true" or tempword == "false":
|
||||
color = "\033[96m"
|
||||
elif instr:
|
||||
color = "\033[92m"
|
||||
elif incom:
|
||||
|
Reference in New Issue
Block a user