From 87b0a3759788d4f7e439e1aeb02661d1f7df6d01 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Sun, 28 Jan 2007 15:10:56 +0000 Subject: [PATCH] * src/scan-skel.l (at_directive_perform): Fix switch statements for last patch. --- src/scan-skel.l | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/scan-skel.l b/src/scan-skel.l index 5f37fb2c..f3fa1a61 100644 --- a/src/scan-skel.l +++ b/src/scan-skel.l @@ -199,21 +199,21 @@ void at_directive_perform (int at_directive_argc, } switch (at_directive_argc) { - case 1: + case 2: func (_(at_directive_argv[1])); break; - case 2: + case 3: func (_(at_directive_argv[1]), at_directive_argv[2]); break; - case 3: + case 4: func (_(at_directive_argv[1]), at_directive_argv[2], at_directive_argv[3]); break; - case 4: + case 5: func (_(at_directive_argv[1]), at_directive_argv[2], at_directive_argv[3], at_directive_argv[4]); break; - case 5: + case 6: func (_(at_directive_argv[1]), at_directive_argv[2], at_directive_argv[3], at_directive_argv[4], at_directive_argv[5]); @@ -242,21 +242,21 @@ void at_directive_perform (int at_directive_argc, boundary_set_from_string (&loc.end, at_directive_argv[2]); switch (at_directive_argc) { - case 3: + case 4: func (loc, _(at_directive_argv[3])); break; - case 4: + case 5: func (loc, _(at_directive_argv[3]), at_directive_argv[4]); break; - case 5: + case 6: func (loc, _(at_directive_argv[3]), at_directive_argv[4], at_directive_argv[5]); break; - case 6: + case 7: func (loc, _(at_directive_argv[3]), at_directive_argv[4], at_directive_argv[5], at_directive_argv[6]); break; - case 7: + case 8: func (loc, _(at_directive_argv[3]), at_directive_argv[4], at_directive_argv[5], at_directive_argv[6], at_directive_argv[7]); -- 2.45.2