i guess we could just set a SASS_SYNTAX = :alternate in environment.rb
On Apr 12, 11:22 am, "weepy" <[EMAIL PROTECTED]> wrote: > yes i'd found it already - and implemented. it's pretty easy really. > just have an extra regex. > seems to work fine on simple stuff. i guess there's some other knobbly > bits like &: and :hover > that i haven't looked at yet. > > do you have any ideas where we could put a configuration switch to > turn in on/off ? > > On Apr 12, 11:15 am, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote: > > > In lib/sass/engine.rb, you'll find all the parsing code. Adding the "a: > > b" syntax is going to be a bit tricky, precisely because it doesn't have > > the identifying starting character, but I'll leave that up to you to > > figure out. The parse_line method is probably where you want to start, > > though. > > > As for inclusion in trunk, I want to wait for Hampton to weigh in to say > > for sure, but I'd be fine with adding it if you can make a patch. > > > - Nathan > > > weepy wrote: > > > if i wanted to try and hack a a: b syntax into a local version - where > > > would i start ? - or is it going to be v hard ? > > > > i understand u dont want to start providing alternate syntax's at this > > > stage in the project, - but i'd like to give it a go :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
