diff options
Diffstat (limited to 'prolog/lexer.py')
-rw-r--r-- | prolog/lexer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/prolog/lexer.py b/prolog/lexer.py index f905a2b..f2b19dc 100644 --- a/prolog/lexer.py +++ b/prolog/lexer.py @@ -27,6 +27,7 @@ import ply.lex as lex # tokens; treat operators as names if followed by ( operators = { r':-': 'FROM', + r'-->': 'FROMDCG', r'->': 'IMPLIES', r'\+': 'NOT', r'not': 'NOT', |