"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/langDefs/bison.lang" (12 May 2020, 1844 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "bison.lang": 3.53_vs_3.54.

    1 
    2 Description="Bison"
    3 
    4 Categories = {"source"}
    5 
    6 Keywords={
    7   { Id=1,
    8     List={"error", "YYABORT", "YYACCEPT", "YYBACKUP", "YYERROR",
    9         "YYERROR_VERBOSE", "YYINITDEPTH", "YYLEX_PARAM", "YYLTYPE", "yyltype",
   10         "YYMAXDEPTH", "YYPARSE_PARAM", "YYRECOVERING", "YYSTACK_USE_ALLOCA", "YYSTYPE",
   11         "yychar", "yyclearin", "yydebug", "yyerrok", "yyerror", "yylex", "yylval",
   12         "yylloc", "yynerrs", "yyparse"},
   13   },
   14   { Id=2,
   15     List={"int", "long", "short", "char", "void", "signed", "unsigned", "float",
   16         "double", "size_t", "wchar_t", "ptrdiff_t",  "sig_atomic_t", "fpos_t",
   17         "clock_t", "time_t", "va_list", "jmp_buf", "FILE", "DIR", "div_t", "ldiv_t",
   18         "static", "const", "bool", "struct", "union", "enum", "size_t", "wchar_t",
   19         "ptrdiff_t", "sig_atomic_t", "fpos_t", "clock_t", "time_t", "va_list",
   20         "jmp_buf", "FILE", "DIR", "div_t", "ldiv_t", "mbstate_t", "wctrans_t", "wint_t",
   21         "wctype_t", "bool", "complex", "int8_t", "int16_t", "int32_t", "int64_t",
   22         "uint8_t", "uint16_t", "uint32_t", "uint64_t", "int_least8_t", "int_least16_t",
   23         "int_least32_t", "int_least64_t", "uint_least8_t", "uint_least16_t",
   24         "uint_least32_t", "uint_least64_t", "int_fast8_t", "int_fast16_t",
   25         "int_fast32_t", "int_fast64_t", "uint_fast8_t", "uint_fast16_t",
   26         "uint_fast32_t", "uint_fast64_t", "intptr_t", "uintptr_t", "intmax_t",
   27         "uintmax_t", "string"},
   28   },
   29   { Id=3,
   30     Regex=[[\$\w+]],
   31   },
   32   { Id=4,
   33     Regex=[[^\w+:]],
   34   },
   35 }
   36 
   37 Strings={
   38   Delimiter=[["|']],
   39 --Escape=[[ \\[ntvbrfa\\\?'"] ]]
   40 }
   41 
   42 IgnoreCase=false
   43 
   44 Comments={
   45   { Block=false,
   46     Delimiter= { [[//]] },
   47   },
   48   { Block=true,
   49     Nested=false,
   50     Delimiter= { [[\/\*]],[[\*\/]],}
   51   }
   52 }
   53 
   54 PreProcessor={
   55   Prefix=[[#]],
   56 }
   57 
   58 Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|<|>|\!|\=|\/|\*|\+|\-]]