OSSP CVS Repository

ossp - Check-in [1277]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1277
Date: 2001-Nov-08 10:33:37 (local)
2001-Nov-08 09:33:37 (UTC)
User:rse
Branch:
Comment: more polishing
Tickets:
Inspections:
Files:
ossp-pkg/l2/l2_spec_scan.l      1.3 -> 1.4     8 inserted, 18 deleted

ossp-pkg/l2/l2_spec_scan.l 1.3 -> 1.4

--- l2_spec_scan.l       2001/11/08 09:28:35     1.3
+++ l2_spec_scan.l       2001/11/08 09:33:37     1.4
@@ -55,20 +55,16 @@
 
 %%
 
-  /* local variables */
-  char  caStr[2048];
-  char *cpStr = NULL;
-
- /*
-  * Whitespaces
-  */
+    /* local variables */
+    char  caStr[2048];
+    char *cpStr = NULL;
+
+    /* whitespaces */
 [ \t\n]+ {
     /* NOOP */
 }
 
- /*
-  * C-style strings ("...")
-  */
+    /* C-style strings ("...") */
 \" {
     cpStr = caStr;
     BEGIN(str);
@@ -114,24 +110,18 @@
     *cpStr++ = yytext[1];
 }
 
- /*
-  * Operators
-  */
+   /* operators */
 "->" { 
     return T_OP_ARROW;
 }
 
- /*
-  * Identifiers
-  */
+   /* identifiers */
 [a-zA-Z][a-zA-Z0-9_-]* {
     yylval->cpValue = strdup(yytext);
     return T_ID;
 }
 
- /*
-  * Anything else is returned as is...
-  */
+   /* anything else is returned as is... */
 .|\n {
     return yytext[0];
 }

CVSTrac 2.0.1