Consistent lack of periods in syntax errors.

This commit is contained in:
Tristan Hume
2013-08-19 15:20:39 -04:00
parent 047900d0dd
commit 324d26d405
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ module Liquid
if s = SPECIALS[c] if s = SPECIALS[c]
[s,c] [s,c]
else else
raise SyntaxError, "Unexpected character #{c}." raise SyntaxError, "Unexpected character #{c}"
end end
end end
+1 -1
View File
@@ -59,7 +59,7 @@ module Liquid
consume(:close_round) consume(:close_round)
"(#{first}..#{last})" "(#{first}..#{last})"
else else
raise SyntaxError, "#{token} is not a valid expression." raise SyntaxError, "#{token} is not a valid expression"
end end
end end