rails / journey

A router for rails
221 stars 57 forks source link

AST: generalized a way to handle STAR node type #32

Closed bogdan closed 12 years ago

bogdan commented 12 years ago

Star node type is handled with some trick now: Scanner treat *name as combination of STAR and LITERAL.

This seems confusing. So this patch makes Scanner thread *name as single STAR node.