summaryrefslogtreecommitdiff
path: root/src/bin/psql/psqlscan.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/psqlscan.l')
-rw-r--r--src/bin/psql/psqlscan.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l
index fb3fa113875..2b2dec95be7 100644
--- a/src/bin/psql/psqlscan.l
+++ b/src/bin/psql/psqlscan.l
@@ -358,6 +358,7 @@ identifier {ident_start}{ident_cont}*
typecast "::"
dot_dot \.\.
colon_equals ":="
+equals_greater "=>"
/*
* "self" is the set of chars that should be returned as single-character
@@ -669,6 +670,10 @@ other .
ECHO;
}
+{equals_greater} {
+ ECHO;
+ }
+
/*
* These rules are specific to psql --- they implement parenthesis
* counting and detection of command-ending semicolon. These must