summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authorToby Goodwin <toby@paccrat.org>2014-09-01 22:44:05 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:25 +0100
commite2e189493e395eef839fd58800fbaaaf736152b9 (patch)
treeb197f81b32ce054ee2aed3d2bae7f7f4b8553cd5 /lex.c
parent517ced5334f62771153cc16c73ba382c7da42f8e (diff)
add $"x as a synonym for $^x
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index 0179521..1df705a 100644
--- a/lex.c
+++ b/lex.c
@@ -201,7 +201,7 @@ top: while ((c = gchar()) == ' ' || c == '\t')
c = gchar();
if (c == '#')
return COUNT;
- if (c == '^')
+ if (c == '^' || c == '"')
return FLAT;
ugchar(c);
return '$';