📄 ibrowser.c
字号:
290, 290, 290, 21, 290, 290, 290, 290, 283, 283, 291, 292, 292, 287, 287, 288, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 289, 290, 290, 283, 290, 283, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 290, 291, 292, 292, 283, 292, 292, 283, 283, 293, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 290, 290, 293, 290, 290, 290, 290, 290, 290, 290, 283, 292, 294, 295, 296, 297, 283, 298, 299, 283, 283, 283, 294, 295, 295, 296, 290, 297, 283, 298, 299, 283, 292, 300, 295, 301, 302, 283, 283, 283, 303, 283, 283, 283, 300, 300, 295, 295, 301, 301, 290, 302, 302, 283, 283, 303, 303, 283, 300, 301, 302, 283, 304, 283, 305, 303, 283, 283, 300, 300, 295, 295, 301, 301, 290, 302, 302, 303, 303, 283, 304, 306, 305, 307, 283, 300, 300, 295, 301, 301, 290, 302, 302, 303, 303, 283, 306, 307, 300, 295, 301, 308, 302, 303, 300, 301, 309, 309, 309, 302, 303, 310, 311, 310, 310, 312, 313, 312, 312, 314, 315, 314, 316, 317, 316, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 283, 384, 385, 283, 0, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283 } ;static yyconst short int yy_nxt[1099] = { 0, 283, 50, 7, 77, 72, 8, 53, 200, 69, 72, 9, 10, 38, 11, 55, 38, 38, 12, 52, 13, 14, 15, 71, 16, 38, 74, 40, 17, 49, 38, 74, 200, 16, 6, 18, 7, 19, 6, 8, 6, 19, 6, 6, 9, 20, 19, 21, 19, 19, 19, 22, 23, 24, 25, 26, 19, 27, 19, 19, 19, 28, 19, 19, 19, 19, 27, 19, 6, 29, 31, 30, 40, 29, 29, 29, 46, 29, 29, 29, 44, 41, 53, 45, 33, 53, 149, 53, 53, 200, 55, 150, 40, 55, 47, 55, 55, 54, 65, 56, 56, 61, 40, 29, 39, 53, 40, 63, 56, 62, 64, 53, 53, 55, 40, 41, 66, 42, 77, 55, 55, 200, 40, 53, 200, 50, 40, 53, 151, 77, 53, 55, 78, 152, 67, 55, 56, 57, 55, 58, 78, 56, 52, 78, 62, 53, 75, 58, 59, 53, 60, 78, 86, 55, 53, 200, 53, 68, 56, 58, 90, 206, 55, 84, 55, 87, 53, 200, 55, 85, 72, 88, 90, 90, 55, 89, 53, 53, 58, 90, 55, 55, 200, 99, 55, 55, 91, 55, 93, 88, 92, 53, 53, 91, 91, 53, 58, 53, 58, 55, 55, 91, 94, 55, 69, 55, 72, 97, 95, 86, 109, 110, 96, 53, 90, 90, 113, 72, 71, 55, 200, 55, 87, 55, 55, 109, 98, 53, 111, 109, 115, 116, 58, 117, 112, 55, 118, 120, 55, 55, 104, 55, 53, 110, 55, 113, 114, 115, 117, 151, 55, 125, 189, 125, 152, 118, 125, 132, 200, 136, 55, 139, 141, 133, 53, 137, 126, 140, 142, 143, 138, 116, 55, 107, 149, 144, 151, 162, 151, 150, 53, 152, 125, 152, 125, 84, 108, 125, 55, 189, 200, 85, 200, 200, 178, 154, 202, 126, 200, 200, 200, 200, 200, 195, 200, 200, 200, 200, 201, 196, 200, 200, 200, 200, 200, 205, 212, 209, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 34, 34, 200, 34, 34, 34, 34, 34, 34, 34, 34, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 51, 200, 51, 200, 51, 200, 200, 51, 51, 54, 200, 200, 200, 54, 54, 54, 54, 54, 70, 200, 70, 200, 70, 200, 200, 70, 70, 73, 200, 200, 200, 73, 73, 200, 73, 73, 101, 200, 101, 200, 101, 200, 200, 101, 101, 121, 198, 121, 197, 121, 193, 192, 121, 121, 122, 122, 191, 122, 122, 123, 154, 123, 190, 123, 154, 188, 123, 123, 124, 154, 124, 187, 124, 186, 154, 124, 124, 127, 170, 168, 183, 182, 181, 180, 127, 128, 179, 128, 177, 128, 176, 175, 128, 128, 146, 146, 154, 146, 146, 147, 147, 174, 147, 147, 148, 148, 173, 148, 148, 153, 153, 172, 153, 153, 169, 154, 169, 170, 169, 168, 167, 169, 169, 171, 166, 171, 165, 171, 164, 163, 171, 171, 184, 184, 161, 184, 184, 185, 185, 160, 185, 185, 194, 159, 158, 194, 157, 194, 156, 194, 194, 199, 199, 199, 131, 199, 199, 199, 203, 203, 203, 155, 203, 203, 203, 204, 154, 204, 125, 204, 204, 204, 207, 207, 207, 72, 207, 207, 207, 208, 145, 208, 135, 208, 208, 208, 210, 210, 210, 134, 210, 210, 210, 211, 131, 211, 130, 211, 211, 211, 213, 213, 213, 129, 213, 213, 213, 214, 106, 214, 105, 214, 214, 214, 215, 215, 215, 103, 215, 215, 215, 216, 102, 216, 100, 216, 216, 216, 217, 217, 217, 119, 217, 217, 217, 218, 108, 218, 107, 218, 218, 218, 219, 219, 219, 106, 219, 219, 219, 220, 105, 220, 104, 220, 220, 220, 221, 221, 221, 103, 221, 221, 221, 222, 102, 222, 77, 222, 222, 222, 223, 223, 223, 77, 223, 223, 223, 224, 40, 224, 100, 224, 224, 224, 225, 225, 225, 72, 225, 225, 225, 226, 72, 226, 83, 226, 226, 226, 227, 227, 227, 82, 227, 227, 227, 228, 81, 228, 80, 228, 228, 228, 229, 229, 229, 79, 229, 229, 229, 230, 77, 230, 76, 230, 230, 230, 231, 231, 231, 75, 231, 231, 231, 232, 37, 232, 35, 232, 232, 232, 233, 233, 233, 35, 233, 233, 233, 234, 72, 234, 38, 234, 234, 234, 235, 235, 235, 48, 235, 235, 235, 236, 43, 236, 37, 236, 236, 236, 237, 237, 237, 35, 237, 237, 237, 238, 283, 238, 30, 238, 238, 238, 239, 239, 239, 283, 239, 239, 239, 240, 283, 240, 283, 240, 240, 240, 241, 241, 241, 283, 241, 241, 241, 242, 283, 242, 283, 242, 242, 242, 243, 243, 243, 283, 243, 243, 243, 244, 283, 244, 283, 244, 244, 244, 245, 245, 245, 283, 245, 245, 245, 246, 283, 246, 283, 246, 246, 246, 247, 247, 247, 283, 247, 247, 247, 248, 283, 248, 283, 248, 248, 248, 249, 249, 249, 283, 249, 249, 249, 250, 283, 250, 283, 250, 250, 250, 251, 251, 251, 283, 251, 251, 251, 252, 283, 252, 283, 252, 252, 252, 253, 253, 253, 283, 253, 253, 253, 254, 283, 254, 283, 254, 254, 254, 255, 255, 255, 283, 255, 255, 255, 256, 283, 256, 283, 256, 256, 256, 257, 257, 257, 283, 257, 257, 257, 258, 283, 258, 283, 258, 258, 258, 259, 259, 259, 283, 259, 259, 259, 260, 283, 260, 283, 260, 260, 260, 261, 261, 261, 283, 261, 261, 261, 262, 283, 262, 283, 262, 262, 262, 263, 263, 263, 283, 263, 263, 263, 264, 283, 264, 283, 264, 264, 264, 265, 265, 265, 283, 265, 265, 265, 266, 283, 266, 283, 266, 266, 266, 267, 267, 267, 283, 267, 267, 267, 268, 283, 268, 283, 268, 268, 268, 269, 269, 269, 283, 269, 269, 269, 270, 283, 270, 283, 270, 270, 270, 271, 271, 271, 283, 271, 271, 271, 272, 283, 272, 283, 272, 272, 272, 273, 273, 273, 283, 273, 273, 273, 274, 283, 274, 283, 274, 274, 274, 275, 275, 275, 283, 275, 275, 275, 276, 283, 276, 283, 276, 276, 276, 277, 277, 277, 283, 277, 277, 277, 278, 283, 278, 283, 278, 278, 278, 279, 279, 279, 283, 279, 279, 279, 280, 283, 280, 283, 280, 280, 280, 281, 283, 281, 283, 281, 281, 281, 282, 283, 282, 283, 282, 282, 282, 5, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283 } ;static yyconst short int yy_chk[1099] = { 0, 0, 18, 1, 44, 33, 1, 19, 279, 31, 71, 1, 1, 17, 1, 19, 10, 10, 1, 18, 1, 1, 1, 31, 1, 10, 33, 44, 1, 17, 17, 71, 277, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 4, 4, 13, 4, 4, 4, 14, 4, 4, 4, 13, 13, 22, 13, 4, 25, 125, 20, 23, 275, 22, 125, 13, 25, 14, 20, 23, 24, 25, 20, 20, 22, 41, 4, 11, 26, 11, 24, 20, 23, 24, 27, 51, 26, 11, 11, 25, 11, 45, 27, 51, 273, 41, 52, 271, 50, 11, 21, 127, 42, 28, 52, 45, 127, 26, 21, 27, 21, 28, 21, 45, 28, 50, 42, 52, 54, 42, 21, 21, 53, 21, 42, 55, 54, 56, 202, 57, 28, 28, 21, 58, 202, 56, 53, 57, 55, 59, 269, 58, 53, 74, 56, 60, 63, 59, 57, 62, 61, 59, 64, 60, 63, 267, 74, 62, 61, 60, 64, 62, 60, 61, 66, 65, 64, 60, 67, 63, 68, 59, 66, 65, 64, 65, 67, 69, 68, 72, 68, 66, 86, 87, 88, 67, 89, 90, 91, 92, 99, 69, 88, 265, 89, 86, 91, 92, 87, 72, 93, 90, 87, 94, 95, 89, 96, 90, 93, 97, 99, 94, 95, 104, 96, 114, 110, 97, 113, 93, 115, 117, 141, 114, 104, 178, 104, 141, 118, 104, 110, 263, 113, 178, 115, 117, 110, 138, 113, 104, 115, 117, 118, 114, 116, 138, 141, 149, 118, 142, 138, 151, 149, 162, 142, 116, 151, 116, 116, 142, 116, 162, 189, 195, 116, 196, 201, 162, 205, 196, 116, 206, 261, 209, 205, 259, 189, 257, 255, 253, 251, 195, 189, 249, 247, 245, 243, 241, 201, 209, 206, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 285, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 286, 287, 287, 239, 287, 287, 287, 287, 287, 287, 287, 287, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 289, 237, 289, 235, 289, 233, 231, 289, 289, 290, 229, 227, 225, 290, 290, 290, 290, 290, 291, 223, 291, 221, 291, 219, 217, 291, 291, 292, 215, 213, 212, 292, 292, 210, 292, 292, 293, 207, 293, 203, 293, 199, 194, 293, 293, 294, 191, 294, 190, 294, 188, 186, 294, 294, 295, 295, 182, 295, 295, 296, 181, 296, 180, 296, 179, 177, 296, 296, 297, 176, 297, 175, 297, 174, 173, 297, 297, 298, 170, 168, 167, 166, 165, 164, 298, 299, 163, 299, 161, 299, 160, 159, 299, 299, 300, 300, 158, 300, 300, 301, 301, 157, 301, 301, 302, 302, 156, 302, 302, 303, 303, 155, 303, 303, 304, 154, 304, 152, 304, 150, 145, 304, 304, 305, 144, 305, 143, 305, 140, 139, 305, 305, 306, 306, 137, 306, 306, 307, 307, 136, 307, 307, 308, 135, 134, 308, 133, 308, 132, 308, 308, 309, 309, 309, 131, 309, 309, 309, 310, 310, 310, 130, 310, 310, 310, 311, 129, 311, 126, 311, 311, 311, 312, 312, 312, 120, 312, 312, 312, 313, 119, 313, 112, 313, 313, 313, 314, 314, 314, 111, 314, 314, 314, 315, 109, 315, 108, 315, 315, 315, 316, 316, 316, 107, 316, 316, 316, 317, 106, 317, 105, 317, 317, 317, 318, 318, 318, 103, 318, 318, 318, 319, 102, 319, 100, 319, 319, 319, 320, 320, 320, 98, 320, 320, 320, 321, 85, 321, 84, 321, 321, 321, 322, 322, 322, 83, 322, 322, 322, 323, 82, 323, 81, 323, 323, 323, 324, 324, 324, 80, 324, 324, 324, 325, 79, 325, 78, 325, 325, 325, 326, 326, 326, 77, 326, 326, 326, 327, 76, 327, 75, 327, 327, 327, 328, 328, 328, 73, 328, 328, 328, 329, 70, 329, 49, 329, 329, 329, 330, 330, 330, 48, 330, 330, 330, 331, 47, 331, 46, 331, 331, 331, 332, 332, 332, 43, 332, 332, 332, 333, 40, 333, 39, 333, 333, 333, 334, 334, 334, 38, 334, 334, 334, 335, 36, 335, 35, 335, 335, 335, 336, 336, 336, 34, 336, 336, 336, 337, 32, 337, 16, 337, 337, 337, 338, 338, 338, 15, 338, 338, 338, 339, 12, 339, 9, 339, 339, 339, 340, 340, 340, 8, 340, 340, 340, 341, 5, 341, 3, 341, 341, 341, 342, 342, 342, 0, 342, 342, 342, 343, 0, 343, 0, 343, 343, 343, 344, 344, 344, 0, 344, 344, 344, 345, 0, 345, 0, 345, 345, 345, 346, 346, 346, 0, 346, 346, 346, 347, 0, 347, 0, 347, 347, 347, 348, 348, 348, 0, 348, 348, 348, 349, 0, 349, 0, 349, 349, 349, 350, 350, 350, 0, 350, 350, 350, 351, 0, 351, 0, 351, 351, 351, 352, 352, 352, 0, 352, 352, 352, 353, 0, 353, 0, 353, 353, 353, 354, 354, 354, 0, 354, 354, 354, 355, 0, 355, 0, 355, 355, 355, 356, 356, 356, 0, 356, 356, 356, 357, 0, 357, 0, 357, 357, 357, 358, 358, 358, 0, 358, 358, 358, 359, 0, 359, 0, 359, 359, 359, 360, 360, 360, 0, 360, 360, 360, 361, 0, 361, 0, 361, 361, 361, 362, 362, 362, 0, 362, 362, 362, 363, 0, 363, 0, 363, 363, 363, 364, 364, 364, 0, 364, 364, 364, 365, 0, 365, 0, 365, 365, 365, 366, 366, 366, 0, 366, 366, 366, 367, 0, 367, 0, 367, 367, 367, 368, 368, 368, 0, 368, 368, 368, 369, 0, 369, 0, 369, 369, 369, 370, 370, 370, 0, 370, 370, 370, 371, 0, 371, 0, 371, 371, 371, 372, 372, 372, 0, 372, 372, 372, 373, 0, 373, 0, 373, 373, 373, 374, 374, 374, 0, 374, 374, 374, 375, 0, 375, 0, 375, 375, 375, 376, 376, 376, 0, 376, 376, 376, 377, 0, 377, 0, 377, 377, 377, 378, 378, 378, 0, 378, 378, 378, 379, 0, 379, 0, 379, 379, 379, 380, 380, 380, 0, 380, 380, 380, 381, 0, 381, 0, 381, 381, 381, 382, 382, 382, 0, 382, 382, 382, 383, 0, 383, 0, 383, 383, 383, 384, 0, 384, 0, 384, 384, 384, 385, 0, 385, 0, 385, 385, 385, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283 } ;static yy_state_type yy_last_accepting_state;static char *yy_last_accepting_cpos;/* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */#define REJECT reject_used_but_not_detected#define yymore() yymore_used_but_not_detected#define YY_MORE_ADJ 0#define YY_RESTORE_YY_MORE_OFFSETchar *yytext;#line 1 "ibrowser.l"#define INITIAL 0/*Copyright (c) 2001, Enchanted Systems LimitedThis file is part of Source-Navigator.Source-Navigator is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public License as publishedby the Free Software Foundation; either version 2, or (at your option)any later version.Source-Navigator is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public License alongwith Source-Navigator; see the file COPYING. If not, write tothe Free Software Foundation, 59 Temple Place - Suite 330, Boston,MA 02111-1307, USA.*//* * ibrowser.l * * Copyright (C) 2001-2007, Enchanted Systems Limited * * Description: * Lex input file for the Source-Navigator Intel8085 assembly parser. * * The target system is a cross-compiler running on VaxVms. The compiler is * case-insensitive (hence setLower() calls and the tortured regExps of key * words etc). */#line 40 "ibrowser.l"#include <ctype.h>#include <stdio.h>#include "snptools.h"#include "lexinput.h"#undef yywrap#define YY_SKIP_YYWRAP#undef YY_INPUT#define YY_INPUT(buf,r,ms) (r = sn_encoded_input(buf, ms))static char *p; /* general purpose pointer */static char *savep; /* general purpose pointer */static char group[] = "8085";static struct { char name[512]; long line; long column; int length; unsigned char flag;} last_label = { "", 0, 0, 0, 0 };static struct { char name[512]; long line; long column; int length; unsigned char flag;} last_macro = { "", 0, 0, 0, 0 };voidemit_func_defn(){ if ( last_label.flag > 0 ) { sn_insert_symbol( SN_FUNC_DEF /* symbol type */ , NULL /* classname */ , last_label.name /* identifier */ , sn_current_file() /* file name */ , last_label.line /* start line number */ , last_label.column /* start column number */ , sn_line() /* end line number */ , 0 /* end column number */ , 0 /* attributes */ , NULL /* return type */ , NULL /* argument types */ , NULL /* argument names */ , NULL /* comment */ , last_label.line /* highlighting start line */ , last_label.column /* highlighting start column */ , last_label.line /* highlighting end line */ , last_label.column + last_label.length /* highlighting end column */ ); last_label.flag = 0; }}/* * Flush any function definitions that might be outstanding (ie. if its * label appears _last_ in a file. When we reach EOF, check to see if its * defn needs to be flushed to the database. Normally the occurence of * another label causes the defn to be stored. * * Return 1 so flex will keep playing. * */intyywrap(){
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -