summaryrefslogtreecommitdiffstats
path: root/ds9/parsers/string.fin
blob: c07b5a9076d9f0808071626860fa9ed2b6bd07f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Quoted STRING
\"[^\"]*\" {set yylval [string range $yytext 1 end-1]; return $STRING_}

# Quoted STRING
\'[^\']*\' {set yylval [string range $yytext 1 end-1]; return $STRING_}

# Quoted STRING
\{[^\}]*\} {set yylval [string range $yytext 1 end-1]; return $STRING_}

# STRING
\S+\S+ {set yylval $yytext; return $STRING_}