1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
Commit graph

13 commits

Author SHA1 Message Date
kematzy
30a183601e Minor code fixes to remove un-necessary Ruby warnings when running scripts with 'ruby -wKU'.
-- warning: `*' interpreted as argument prefix
-- warning: StringScanner#matchedsize is obsolete; use #matched_size instead
-- warning: instance variable @else not initialized

There's still an issue of warnings output on eval(), but can't work out where that comes from.
  (eval):25: warning: statement not reached
  (eval):28: warning: statement not reached

Nothing major I know, but it's always a start.
2009-04-07 15:54:32 -07:00
Nathan Weizenbaum
fb294351a6 [Sass] Make the lexer and parser handle interpolations in a saner, less buggy way. 2009-02-26 02:44:43 -08:00
Nathan Weizenbaum
633c272385 Properly parse Sass interpolation. 2009-01-09 14:54:17 -08:00
Chris Eppstein
5cb9e83d18 More accurate line number and character offset reporting. 2008-12-14 20:00:21 -08:00
Chris Eppstein
2abedba0d6 Better general error message for sass parsing. 2008-12-14 20:00:20 -08:00
Chris Eppstein
17fdd86be8 Emit a Token object instead of Array for Lexer#token. 2008-12-14 20:00:20 -08:00
Chris Eppstein
0d6d7e1c0a Pass line number and character offset from the Engine to the Lexer. 2008-12-14 20:00:20 -08:00
Nathan Weizenbaum
fe3fdd0515 Render Sass colors as color names when possible. 2008-11-22 19:22:34 -08:00
Nathan Weizenbaum
9ebbe62230 Support Unicode-escapes in Sass strings. 2008-11-22 17:39:59 -08:00
Chris Eppstein
128d00df3d Small optimization for the token method. 2008-10-14 08:01:22 -07:00
Chris Eppstein
95e16e4ed9 Precompile most of the Regular Expressions in the lexer. 2008-10-13 20:30:12 -07:00
Nathan Weizenbaum
05a617b86d Mark some new Sass::Script classes as :nodoc:. 2008-10-12 19:04:40 -07:00
Nathan Weizenbaum
03d2ab6f3b Rename Sass::Constant to Sass::Script, and refer to constants as variables. 2008-10-12 19:03:06 -07:00
Renamed from lib/sass/constant/lexer.rb (Browse further)