Sha256: 76164579f2ab1148296b216db870abbe192f292f30e6b15d90cc0c18ff91a97c
Contents?: true
Size: 771 Bytes
Versions: 7
Compression:
Stored size: 771 Bytes
Contents
%% \s+ {/* skip whitespace */} "/*"[^*]*"*" {return yy.lexComment(this);} [a-zA-Z][a-zA-Z0-9_-]* {return 'ID';} '"'[^"]+'"' {yytext = yytext.substr(1, yyleng-2); return 'STRING';} "'"[^']+"'" {yytext = yytext.substr(1, yyleng-2); return 'STRING';} ":" {return ':';} ";" {return ';';} "|" {return '|';} "%%" {return '%%';} "%prec" {return 'PREC';} "%start" {return 'START';} "%left" {return 'LEFT';} "%right" {return 'RIGHT';} "%nonassoc" {return 'NONASSOC';} "%"[a-zA-Z]+[^\n]* {/* ignore unrecognized decl */} "{{"[^}]*"}" {return yy.lexAction(this);} "{"[^}]*"}" {yytext = yytext.substr(1, yyleng-2); return 'ACTION';} "<"[^>]*">" {yytext = yytext.substr(1, yyleng-2); return 'ACTION';} . {/* ignore bad characters */} <<EOF>> {return 'EOF';} %%
Version data entries
7 entries across 7 versions & 1 rubygems