pike.git / lib / modules / Parser.pmod / Pike.pmod

version» Context lines:

pike.git/lib/modules/Parser.pmod/Pike.pmod:1:   //   // This file needs to support old pikes that e.g. don't understand   // "#pike". Some of them fail when they see an unknown cpp directive.   //   // #pike __REAL_VERSION__   // - // $Id: Pike.pmod,v 1.23 2002/10/10 02:41:55 nilsson Exp $ + // $Id: Pike.pmod,v 1.24 2002/12/18 20:23:29 nilsson Exp $      //! This module parses and tokanizes Pike source code.      inherit "C.pmod";      #define UNKNOWN_TOKEN \    throw( ({sprintf("Unknown pike token: %O\n",data[pos..pos+20]) }) )      static mapping(string : int) backquoteops =   (["/":1,
pike.git/lib/modules/Parser.pmod/Pike.pmod:274:    state->in_token = 1;    return ret;    }    error("Failed to find end of comment.\n");    }    pos+=2;    break;       case "<<": case ">>":    if(data[pos+2]=='=') pos++; -  case "==": case "<=": case ">=": +  case "==": case "!=": case "<=": case ">=":    case "*=": case "/=": case "%=":    case "&=": case "|=": case "^=":    case "+=": case "-=":    case "++": case "--":    case "&&": case "||":    case "->":    case "::":    pos++;    default:    pos++;