Sha256: bec5300bb0e98972f06aa6df6c11ce3a3df31ce0a91d75172803603f11393e0e

Contents?: true

Size: 831 Bytes

Versions: 7

Compression:

Stored size: 831 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

Version Path
haml-more-0.5.1 vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.5.0 vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.4.0 vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.4.0.d vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.4.0.c vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.4.0.b vendor/coffee-script/vendor/jison/src/bnf.jisonlex
haml-more-0.4.0.a vendor/coffee-script/vendor/jison/src/bnf.jisonlex