~ubuntu-branches/ubuntu/gutsy/libapache2-mod-python/gutsy

« back to all changes in this revision

Viewing changes to src/psp_parser.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-07 13:18:35 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060707131835-zfp1vupanjj2e77y
Tags: 3.2.8-1ubuntu1
* Merge to Debian unstable.
* Remaining Ubuntu change: debian/{control,rules}: Drop python 2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
        *yy_cp = '\0'; \
344
344
        yyg->yy_c_buf_p = yy_cp;
345
345
 
346
 
#define YY_NUM_RULES 20
347
 
#define YY_END_OF_BUFFER 21
 
346
#define YY_NUM_RULES 23
 
347
#define YY_END_OF_BUFFER 24
348
348
/* This struct is not used in this scanner,
349
349
   but its presence is necessary. */
350
350
struct yy_trans_info
352
352
        flex_int32_t yy_verify;
353
353
        flex_int32_t yy_nxt;
354
354
        };
355
 
static yyconst flex_int16_t yy_accept[69] =
 
355
static yyconst flex_int16_t yy_accept[73] =
356
356
    {   0,
357
 
        0,    0,    0,    0,    0,    0,    0,   13,    0,    0,
358
 
        0,    0,   21,    2,    1,    2,    8,    7,    8,    8,
359
 
       12,    9,   12,   12,   11,   16,   15,   16,   16,   13,
360
 
       20,   20,   20,   20,    1,    7,    4,    9,   10,   15,
361
 
       14,   13,   18,    0,    0,    0,    3,    5,    0,    0,
362
 
        6,    0,   19,    0,    0,    0,    0,    0,    0,    0,
363
 
        0,    0,    0,    0,    0,    0,   17,    0
 
357
        0,    0,    0,    0,    0,    0,    0,   16,    0,    0,
 
358
        0,    0,   24,    2,    1,    2,   11,   10,   11,   11,
 
359
       11,   15,   12,   15,   15,   14,   19,   18,   19,   19,
 
360
       16,   23,   23,   23,   23,    1,   10,    7,    3,    4,
 
361
        5,   12,   13,   18,   17,   16,   21,    0,    0,    0,
 
362
        6,    8,    0,    0,    9,    0,   22,    0,    0,    0,
 
363
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
 
364
       20,    0
364
365
    } ;
365
366
 
366
367
static yyconst flex_int32_t yy_ec[256] =
374
375
       11,   12,    1,   13,    1,    1,    1,    1,    1,    1,
375
376
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
376
377
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
377
 
        1,    1,    1,    1,    1,    1,    1,    1,   14,   15,
 
378
        1,   14,    1,    1,    1,    1,    1,    1,   15,   16,
378
379
 
379
 
       16,   17,    1,    1,   18,    1,    1,   19,    1,   20,
380
 
        1,    1,    1,    1,    1,    1,   21,    1,    1,    1,
 
380
       17,   18,    1,    1,   19,    1,    1,   20,    1,   21,
 
381
        1,    1,    1,   22,    1,   23,   24,    1,    1,    1,
381
382
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
382
383
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
383
384
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
395
396
        1,    1,    1,    1,    1
396
397
    } ;
397
398
 
398
 
static yyconst flex_int32_t yy_meta[22] =
 
399
static yyconst flex_int32_t yy_meta[25] =
399
400
    {   0,
400
401
        1,    1,    1,    1,    2,    1,    1,    1,    1,    1,
401
402
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
402
 
        1
403
 
    } ;
404
 
 
405
 
static yyconst flex_int16_t yy_base[75] =
406
 
    {   0,
407
 
        0,    2,    4,    6,   14,   21,    8,   29,   19,   20,
408
 
       76,   75,   82,   85,   85,   78,   85,   85,   77,   72,
409
 
       85,   85,   75,   65,   85,   85,   85,   73,   63,   17,
410
 
       85,   62,   53,   64,   85,   85,   31,   85,   85,   85,
411
 
       85,   38,   85,   57,   63,   61,   85,   85,   49,   55,
412
 
       85,   45,   85,   50,   48,   58,   24,   44,   31,   33,
413
 
       40,   37,   41,   29,    0,   14,    7,   85,   51,   53,
414
 
       55,   57,   59,    0
415
 
    } ;
416
 
 
417
 
static yyconst flex_int16_t yy_def[75] =
418
 
    {   0,
419
 
       69,   69,   70,   70,   71,   71,   72,   72,   73,   73,
420
 
       73,   73,   68,   68,   68,   68,   68,   68,   68,   68,
421
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
422
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
423
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
424
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
425
 
       68,   68,   68,   68,   74,   74,   74,    0,   68,   68,
426
 
       68,   68,   68,   68
427
 
    } ;
428
 
 
429
 
static yyconst flex_int16_t yy_nxt[107] =
430
 
    {   0,
431
 
       66,   68,   15,   16,   15,   16,   18,   19,   18,   19,
432
 
       27,   28,   67,   20,   29,   20,   22,   23,   42,   67,
433
 
       24,   42,   25,   22,   23,   32,   32,   24,   57,   25,
434
 
       30,   27,   28,   30,   65,   29,   33,   33,   46,   42,
435
 
       58,   47,   42,   48,   62,   64,   65,   63,   61,   60,
436
 
       63,   14,   14,   17,   17,   21,   21,   26,   26,   31,
437
 
       31,   59,   57,   56,   55,   54,   53,   52,   51,   50,
438
 
       49,   45,   44,   43,   41,   40,   39,   38,   37,   36,
439
 
       35,   68,   34,   34,   13,   68,   68,   68,   68,   68,
440
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
441
 
 
442
 
       68,   68,   68,   68,   68,   68
443
 
    } ;
444
 
 
445
 
static yyconst flex_int16_t yy_chk[107] =
446
 
    {   0,
447
 
       74,    0,    1,    1,    2,    2,    3,    3,    4,    4,
448
 
        7,    7,   67,    3,    7,    4,    5,    5,   30,   66,
449
 
        5,   30,    5,    6,    6,    9,   10,    6,   57,    6,
450
 
        8,    8,    8,    8,   64,    8,    9,   10,   37,   42,
451
 
       57,   37,   42,   37,   61,   63,   63,   62,   60,   59,
452
 
       61,   69,   69,   70,   70,   71,   71,   72,   72,   73,
453
 
       73,   58,   56,   55,   54,   52,   50,   49,   46,   45,
454
 
       44,   34,   33,   32,   29,   28,   24,   23,   20,   19,
455
 
       16,   13,   12,   11,   68,   68,   68,   68,   68,   68,
456
 
       68,   68,   68,   68,   68,   68,   68,   68,   68,   68,
457
 
 
458
 
       68,   68,   68,   68,   68,   68
 
403
        1,    1,    1,    1
 
404
    } ;
 
405
 
 
406
static yyconst flex_int16_t yy_base[79] =
 
407
    {   0,
 
408
        0,    2,    4,   16,   28,   35,    6,   43,    4,    5,
 
409
       81,   80,   87,   90,   90,   83,   90,   90,   82,   77,
 
410
        6,   90,   90,   80,   70,   90,   90,   90,   78,   68,
 
411
       20,   90,   67,   57,   69,   90,   90,   41,   90,   90,
 
412
       90,   90,   90,   90,   90,   31,   90,   61,   68,   66,
 
413
       90,   90,   53,   60,   90,   47,   90,   54,   52,   63,
 
414
       16,   37,   35,   36,   46,   32,   10,   35,    0,   34,
 
415
       11,   90,   57,   59,   61,   63,   65,    0
 
416
    } ;
 
417
 
 
418
static yyconst flex_int16_t yy_def[79] =
 
419
    {   0,
 
420
       73,   73,   74,   74,   75,   75,   76,   76,   77,   77,
 
421
       77,   77,   72,   72,   72,   72,   72,   72,   72,   72,
 
422
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
423
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
424
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
425
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
426
       72,   72,   72,   72,   72,   72,   72,   72,   78,   78,
 
427
       78,    0,   72,   72,   72,   72,   72,   72
 
428
    } ;
 
429
 
 
430
static yyconst flex_int16_t yy_nxt[115] =
 
431
    {   0,
 
432
       70,   72,   15,   16,   15,   16,   18,   19,   28,   29,
 
433
       33,   33,   30,   20,   68,   69,   71,   21,   18,   19,
 
434
       61,   46,   34,   34,   46,   20,   39,   40,   41,   21,
 
435
       23,   24,   46,   62,   25,   46,   26,   23,   24,   71,
 
436
       69,   25,   67,   26,   31,   28,   29,   31,   50,   30,
 
437
       66,   51,   65,   52,   64,   63,   67,   14,   14,   17,
 
438
       17,   22,   22,   27,   27,   32,   32,   61,   60,   59,
 
439
       58,   57,   56,   55,   54,   53,   49,   48,   47,   45,
 
440
       44,   43,   42,   38,   37,   36,   72,   35,   35,   13,
 
441
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
442
 
 
443
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
444
       72,   72,   72,   72
 
445
    } ;
 
446
 
 
447
static yyconst flex_int16_t yy_chk[115] =
 
448
    {   0,
 
449
       78,    0,    1,    1,    2,    2,    3,    3,    7,    7,
 
450
        9,   10,    7,    3,   67,   67,   71,    3,    4,    4,
 
451
       61,   31,    9,   10,   31,    4,   21,   21,   21,    4,
 
452
        5,    5,   46,   61,    5,   46,    5,    6,    6,   70,
 
453
       68,    6,   66,    6,    8,    8,    8,    8,   38,    8,
 
454
       65,   38,   64,   38,   63,   62,   65,   73,   73,   74,
 
455
       74,   75,   75,   76,   76,   77,   77,   60,   59,   58,
 
456
       56,   54,   53,   50,   49,   48,   35,   34,   33,   30,
 
457
       29,   25,   24,   20,   19,   16,   13,   12,   11,   72,
 
458
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
459
 
 
460
       72,   72,   72,   72,   72,   72,   72,   72,   72,   72,
 
461
       72,   72,   72,   72
459
462
    } ;
460
463
 
461
464
/* The intent behind this definition is that it'll catch
482
485
 * implied.  See the License for the specific language governing
483
486
 * permissions and limitations under the License.
484
487
 *
485
 
 * $Id: psp_parser.c 102680 2004-02-18 23:04:36Z grisha $
 
488
 * $Id: psp_parser.c 332365 2005-11-10 20:19:36Z jgallacher $
486
489
 *
487
490
 * This file originally written by Sterling Hughes.
488
491
 * 
508
511
 
509
512
 
510
513
 
511
 
#line 512 "psp_parser.c"
 
514
#line 515 "psp_parser.c"
512
515
 
513
516
#define INITIAL 0
514
517
#define TEXT 1
517
520
#define DIR 4
518
521
#define COMMENT 5
519
522
 
 
523
#ifndef YY_NO_UNISTD_H
520
524
/* Special case for "unistd.h", since it is non-ANSI. We include it way
521
525
 * down here because we want the user's section 1 to have been scanned first.
522
526
 * The user has a chance to override it with an option.
523
527
 */
524
528
#include <unistd.h>
 
529
#endif
525
530
 
526
531
#ifndef YY_EXTRA_TYPE
527
532
#define YY_EXTRA_TYPE void *
732
737
#line 47 "psp_parser.l"
733
738
 
734
739
 
735
 
#line 736 "psp_parser.c"
 
740
#line 741 "psp_parser.c"
736
741
 
737
742
        if ( yyg->yy_init )
738
743
                {
786
791
                        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
787
792
                                {
788
793
                                yy_current_state = (int) yy_def[yy_current_state];
789
 
                                if ( yy_current_state >= 69 )
 
794
                                if ( yy_current_state >= 73 )
790
795
                                        yy_c = yy_meta[(unsigned int) yy_c];
791
796
                                }
792
797
                        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
793
798
                        ++yy_cp;
794
799
                        }
795
 
                while ( yy_base[yy_current_state] != 85 );
 
800
                while ( yy_base[yy_current_state] != 90 );
796
801
 
797
802
yy_find_action:
798
803
                yy_act = yy_accept[yy_current_state];
840
845
case 3:
841
846
YY_RULE_SETUP
842
847
#line 63 "psp_parser.l"
 
848
{
 
849
    psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\\\\n"));
 
850
}
 
851
        YY_BREAK
 
852
case 4:
 
853
YY_RULE_SETUP
 
854
#line 67 "psp_parser.l"
 
855
{
 
856
    psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\\\\r"));
 
857
}
 
858
        YY_BREAK
 
859
case 5:
 
860
YY_RULE_SETUP
 
861
#line 71 "psp_parser.l"
 
862
{
 
863
    psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\\\\t"));
 
864
}
 
865
        YY_BREAK
 
866
case 6:
 
867
YY_RULE_SETUP
 
868
#line 75 "psp_parser.l"
843
869
{    /* expression */
844
870
    psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\"\"\",0); req.write(str("));
845
871
    PSP_PG(is_psp_echo) = 1;
847
873
    BEGIN PYCODE;
848
874
}
849
875
        YY_BREAK
850
 
case 4:
 
876
case 7:
851
877
YY_RULE_SETUP
852
 
#line 70 "psp_parser.l"
 
878
#line 82 "psp_parser.l"
853
879
{     /* python code */
854
880
    psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\"\"\",0);")); 
855
881
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
857
883
    BEGIN PYCODE;
858
884
}
859
885
        YY_BREAK
860
 
case 5:
 
886
case 8:
861
887
YY_RULE_SETUP
862
 
#line 77 "psp_parser.l"
 
888
#line 89 "psp_parser.l"
863
889
{     /* directive */
864
890
    BEGIN DIR;
865
891
}
866
892
        YY_BREAK
867
 
case 6:
 
893
case 9:
868
894
YY_RULE_SETUP
869
 
#line 81 "psp_parser.l"
 
895
#line 93 "psp_parser.l"
870
896
{    /* comment */
871
897
    BEGIN COMMENT;
872
898
}
873
899
        YY_BREAK
874
 
case 7:
875
 
/* rule 7 can match eol */
 
900
case 10:
 
901
/* rule 10 can match eol */
876
902
YY_RULE_SETUP
877
 
#line 85 "psp_parser.l"
 
903
#line 97 "psp_parser.l"
878
904
{
879
905
    psp_string_appendc(&PSP_PG(pycode), '\n');
880
906
}
881
907
        YY_BREAK
882
 
case 8:
 
908
case 11:
883
909
YY_RULE_SETUP
884
 
#line 89 "psp_parser.l"
 
910
#line 101 "psp_parser.l"
885
911
{
886
912
    if (yytext[0] == '"') {
887
913
        psp_string_appendl(&PSP_PG(pycode), STATIC_STR("\\\""));
891
917
}
892
918
        YY_BREAK
893
919
case YY_STATE_EOF(TEXT):
894
 
#line 97 "psp_parser.l"
 
920
#line 109 "psp_parser.l"
895
921
{
896
922
    yypop_buffer_state(yyscanner);
897
923
    if (!YY_CURRENT_BUFFER) {
905
931
    }
906
932
}
907
933
        YY_BREAK
908
 
case 9:
909
 
/* rule 9 can match eol */
 
934
case 12:
 
935
/* rule 12 can match eol */
910
936
YY_RULE_SETUP
911
 
#line 110 "psp_parser.l"
 
937
#line 122 "psp_parser.l"
912
938
{
913
939
    psp_string_appendc(&PSP_PG(pycode), '\n');
914
940
        
916
942
    BEGIN INDENT;
917
943
}
918
944
        YY_BREAK
919
 
case 10:
 
945
case 13:
920
946
YY_RULE_SETUP
921
 
#line 117 "psp_parser.l"
 
947
#line 129 "psp_parser.l"
922
948
{
923
949
 
924
950
    if (PSP_PG(is_psp_echo)) {
944
970
    BEGIN TEXT;
945
971
}
946
972
        YY_BREAK
947
 
case 11:
 
973
case 14:
948
974
YY_RULE_SETUP
949
 
#line 142 "psp_parser.l"
 
975
#line 154 "psp_parser.l"
950
976
{
951
977
    psp_string_appendc(&PSP_PG(pycode), yytext[0]);
952
978
    PSP_PG(after_colon) = 1;
953
979
}
954
980
        YY_BREAK
955
 
case 12:
 
981
case 15:
956
982
YY_RULE_SETUP
957
 
#line 147 "psp_parser.l"
 
983
#line 159 "psp_parser.l"
958
984
{
959
985
    psp_string_appendc(&PSP_PG(pycode), yytext[0]);
960
986
    PSP_PG(after_colon) = 0;
961
987
}
962
988
        YY_BREAK
963
 
case 13:
 
989
case 16:
964
990
YY_RULE_SETUP
965
 
#line 152 "psp_parser.l"
 
991
#line 164 "psp_parser.l"
966
992
{
967
993
 
968
994
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
972
998
    BEGIN PYCODE;
973
999
}
974
1000
        YY_BREAK
975
 
case 14:
976
 
YY_RULE_SETUP
977
 
#line 161 "psp_parser.l"
978
 
{
979
 
    yyless(0);
980
 
    BEGIN PYCODE;
981
 
}
982
 
        YY_BREAK
983
 
case 15:
984
 
/* rule 15 can match eol */
985
 
YY_RULE_SETUP
986
 
#line 166 "psp_parser.l"
987
 
{
988
 
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
989
 
    yyless(0);
990
 
    BEGIN PYCODE;
991
 
}
992
 
        YY_BREAK
993
 
case 16:
994
 
YY_RULE_SETUP
995
 
#line 172 "psp_parser.l"
996
 
{
997
 
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
998
 
    yyless(0);
999
 
    BEGIN PYCODE;
1000
 
}
1001
 
        YY_BREAK
1002
1001
case 17:
1003
 
/* rule 17 can match eol */
 
1002
YY_RULE_SETUP
 
1003
#line 173 "psp_parser.l"
 
1004
{
 
1005
    yyless(0);
 
1006
    BEGIN PYCODE;
 
1007
}
 
1008
        YY_BREAK
 
1009
case 18:
 
1010
/* rule 18 can match eol */
1004
1011
YY_RULE_SETUP
1005
1012
#line 178 "psp_parser.l"
1006
1013
{
 
1014
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
 
1015
    yyless(0);
 
1016
    BEGIN PYCODE;
 
1017
}
 
1018
        YY_BREAK
 
1019
case 19:
 
1020
YY_RULE_SETUP
 
1021
#line 184 "psp_parser.l"
 
1022
{
 
1023
    CLEAR_WHITESPACE(&PSP_PG(whitespace)); 
 
1024
    yyless(0);
 
1025
    BEGIN PYCODE;
 
1026
}
 
1027
        YY_BREAK
 
1028
case 20:
 
1029
/* rule 20 can match eol */
 
1030
YY_RULE_SETUP
 
1031
#line 190 "psp_parser.l"
 
1032
{
1007
1033
 
1008
1034
    char *filename;
1009
1035
    char *path;
1044
1070
    if (PSP_PG(dir)) free(path);
1045
1071
}
1046
1072
        YY_BREAK
1047
 
case 18:
1048
 
YY_RULE_SETUP
1049
 
#line 220 "psp_parser.l"
1050
 
{
1051
 
    BEGIN TEXT;
1052
 
}
1053
 
        YY_BREAK
1054
 
case 19:
1055
 
YY_RULE_SETUP
1056
 
#line 224 "psp_parser.l"
1057
 
{
1058
 
    BEGIN TEXT;
1059
 
}
1060
 
        YY_BREAK
1061
 
case 20:
1062
 
YY_RULE_SETUP
1063
 
#line 228 "psp_parser.l"
 
1073
case 21:
 
1074
YY_RULE_SETUP
 
1075
#line 232 "psp_parser.l"
 
1076
{
 
1077
    BEGIN TEXT;
 
1078
}
 
1079
        YY_BREAK
 
1080
case 22:
 
1081
YY_RULE_SETUP
 
1082
#line 236 "psp_parser.l"
 
1083
{
 
1084
    BEGIN TEXT;
 
1085
}
 
1086
        YY_BREAK
 
1087
case 23:
 
1088
YY_RULE_SETUP
 
1089
#line 240 "psp_parser.l"
1064
1090
ECHO;
1065
1091
        YY_BREAK
1066
 
#line 1067 "psp_parser.c"
 
1092
#line 1093 "psp_parser.c"
1067
1093
case YY_STATE_EOF(INITIAL):
1068
1094
case YY_STATE_EOF(PYCODE):
1069
1095
case YY_STATE_EOF(INDENT):
1354
1380
                while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1355
1381
                        {
1356
1382
                        yy_current_state = (int) yy_def[yy_current_state];
1357
 
                        if ( yy_current_state >= 69 )
 
1383
                        if ( yy_current_state >= 73 )
1358
1384
                                yy_c = yy_meta[(unsigned int) yy_c];
1359
1385
                        }
1360
1386
                yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1383
1409
        while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1384
1410
                {
1385
1411
                yy_current_state = (int) yy_def[yy_current_state];
1386
 
                if ( yy_current_state >= 69 )
 
1412
                if ( yy_current_state >= 73 )
1387
1413
                        yy_c = yy_meta[(unsigned int) yy_c];
1388
1414
                }
1389
1415
        yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1390
 
        yy_is_jam = (yy_current_state == 68);
 
1416
        yy_is_jam = (yy_current_state == 72);
1391
1417
 
1392
1418
        return yy_is_jam ? 0 : yy_current_state;
1393
1419
}
1817
1843
/** Setup the input buffer state to scan a string. The next call to yylex() will
1818
1844
 * scan from a @e copy of @a str.
1819
1845
 * @param str a NUL-terminated string to scan
 
1846
 * @param yy_str a NUL-terminated string to scan
1820
1847
 * @param yyscanner The scanner object.
1821
1848
 * @return the newly allocated buffer state object.
1822
1849
 * @note If you want to scan bytes that may contain NUL values, then use
1823
1850
 *       yy_scan_bytes() instead.
1824
1851
 */
1825
 
YY_BUFFER_STATE yy_scan_string (yyconst char * str , yyscan_t yyscanner)
 
1852
YY_BUFFER_STATE yy_scan_string (yyconst char * yy_str , yyscan_t yyscanner)
1826
1853
{
1827
1854
    
1828
 
        return yy_scan_bytes(str,strlen(str) ,yyscanner);
 
1855
        return yy_scan_bytes(yy_str,strlen(yy_str) ,yyscanner);
1829
1856
}
1830
1857
 
1831
1858
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
2183
2210
#undef YY_DECL_IS_OURS
2184
2211
#undef YY_DECL
2185
2212
#endif
2186
 
#line 228 "psp_parser.l"
 
2213
#line 240 "psp_parser.l"
2187
2214
 
2188
2215
 
2189
2216