tyler-sommer / stick

A golang port of the Twig templating engine
MIT License
183 stars 36 forks source link

Fix string with operator prefix is lexed as operator bug #24

Closed mingwho closed 4 years ago

mingwho commented 4 years ago

Before Lexer would lex {{orange}} as operator "or" and name "ange", but it should be name "orange". This PR fixes the bug.

tyler-sommer commented 4 years ago

Thanks for the PR!