From 753460884ec81da784230885ce9e563fcda085d2 Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Wed, 10 Apr 2013 12:32:39 +0200 Subject: [PATCH] Accept strings as top-level expressions --- hy/lex/states.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hy/lex/states.py b/hy/lex/states.py index 52d6fa3..005e905 100644 --- a/hy/lex/states.py +++ b/hy/lex/states.py @@ -284,6 +284,9 @@ class Idle(State): if char == "#": return Hash + if char == "\"": + return String + if char in WHITESPACE: return