Revision: 17950
Author:   [email protected]
Date:     Thu Nov 21 09:31:29 2013 UTC
Log:      Experimental parser: remove some tabs chars

[email protected]

BUG=

Review URL: https://codereview.chromium.org/80573002
http://code.google.com/p/v8/source/detail?r=17950

Modified:
 /branches/experimental/parser/tools/lexer_generator/code_generator.jinja

=======================================
--- /branches/experimental/parser/tools/lexer_generator/code_generator.jinja Thu Nov 21 08:55:13 2013 UTC +++ /branches/experimental/parser/tools/lexer_generator/code_generator.jinja Thu Nov 21 09:31:29 2013 UTC
@@ -5,19 +5,19 @@
     {%- if not loop.first %} || {% endif -%}
     {%- if r[0] == 'LATIN_1' -%}
       {%- if r[1][0] == r[1][1] -%}
-             yych == {{r[1][0]}}
+        yych == {{r[1][0]}}
       {%- elif r[1][0] == 0 -%}
-             yych <= {{r[1][1]}}
+        yych <= {{r[1][1]}}
       {%- elif r[1][1] == 255 -%}
-             yych >= {{r[1][0]}}
+        yych >= {{r[1][0]}}
       {%- else -%}
-             ({{r[1][0]}} <= yych && yych <= {{r[1][1]}})
+        ({{r[1][0]}} <= yych && yych <= {{r[1][1]}})
       {%- endif -%}
     {%- elif r[0] == 'CLASS' -%}
       {%- if r[1] == 'eos' -%}
-             (yych == 0 && cursor_ >= buffer_end_)
+        (yych == 0 && cursor_ >= buffer_end_)
       {%- elif r[1] == 'zero' -%}
-             (yych == 0 && cursor_ < buffer_end_)
+        (yych == 0 && cursor_ < buffer_end_)
       {%- elif r[1] == 'byte_order_mark' and encoding == 'utf16'-%}
         (yych == 0xfffe || yych == 0xfeff)
       {%- elif r[1] == 'non_latin_1_whitespace' and encoding == 'utf16'-%}
@@ -31,7 +31,7 @@
{%- elif r[1] == 'non_latin1_line_terminator' and encoding == 'utf16'-%}
         (yych > 255 &&  unicode_cache_->IsLineTerminator(yych))
       {%- else -%}
-             false /* {{r[1]}} */
+        false /* {{r[1]}} */
       {%- endif -%}
     {%- else -%}
       false

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to