]> iEval git - filters.git/commitdiff
newspeak: Fix caseify() and remove unused caseify1()
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 12 Sep 2015 17:23:39 +0000 (20:23 +0300)
committerJoey Hess <joeyh@joeyh.name>
Sat, 12 Sep 2015 21:15:22 +0000 (17:15 -0400)
newspeak.l

index ce0f57314030ddf22c9e08c34071ff1b2d2f48d5..4b2928e658386d57833935fe0b37b04a9f0478dc 100644 (file)
@@ -43,7 +43,6 @@ unsigned int fcounter = 0;
 #define Y2     yytext[2]
 #define Y3     yytext[3]
 #define C      caseify
-#define C1     caseify1
 
 #define CAP(string)    capstring(0, (string),0)
 #define WCAP(string)   capstring(Y0,(string),1)
@@ -678,8 +677,6 @@ _caseify(c,i)
 
 caseify(c)
     char c;
-{      _caseify(c,0);  }
-
-caseify1(c)
-    char c;
-{      _caseify(c,1);  }
+{
+       return _caseify(c,0);
+}
This page took 0.028231 seconds and 4 git commands to generate.