shithub: mc

Download patch

ref: 3872f3ace46e4875e457826e012c03f969e81617
parent: c4b21b2c41d46dc5f1e786c924dcd23530ae6351
author: Ori Bernstein <[email protected]>
date: Mon Jul 9 11:01:56 EDT 2012

Fix whitespace.

--- a/parse/gram.y
+++ b/parse/gram.y
@@ -71,15 +71,15 @@
 %token<tok> Ttick    /* ` */
 %token<tok> Thash    /* # */
 
-%token<tok> Ttype            /* type */
-%token<tok> Tfor             /* for */
-%token<tok> Twhile           /* while */
-%token<tok> Tif              /* if */
-%token<tok> Telse            /* else */
-%token<tok> Telif            /* else */
-%token<tok> Tmatch           /* match */
+%token<tok> Ttype    /* type */
+%token<tok> Tfor     /* for */
+%token<tok> Twhile   /* while */
+%token<tok> Tif      /* if */
+%token<tok> Telse    /* else */
+%token<tok> Telif    /* else */
+%token<tok> Tmatch   /* match */
 %token<tok> Tdefault /* default */
-%token<tok> Tgoto            /* goto */
+%token<tok> Tgoto    /* goto */
 
 %token<tok> Tintlit
 %token<tok> Tstrlit
@@ -100,16 +100,16 @@
 %token<tok> Texport  /* export */
 %token<tok> Tprotect /* protect */
 
-%token<tok> Tellipsis        /* ... */
-%token<tok> Tendln           /* ; or \n */
+%token<tok> Tellipsis/* ... */
+%token<tok> Tendln   /* ; or \n */
 %token<tok> Tendblk  /* ;; */
 %token<tok> Tcolon   /* : */
-%token<tok> Tcoloncolon   /* :: */
-%token<tok> Tdot             /* . */
+%token<tok> Ttrait   /* :: */
+%token<tok> Tdot     /* . */
 %token<tok> Tcomma   /* , */
-%token<tok> Tret             /* -> */
-%token<tok> Tuse             /* use */
-%token<tok> Tpkg             /* pkg */
+%token<tok> Tret     /* -> */
+%token<tok> Tuse     /* use */
+%token<tok> Tpkg     /* pkg */
 %token<tok> Tsizeof  /* sizeof */
 
 %token<tok> Tident