docs: public void handle(Parser p, String msg) {
          int endl = p.cursor;
          while(p.buffer.buffer[endl] != 0 && p.buffer.buffer[endl] != '\n') {
              endl++;
          }
          try {
              int lp = p.lineptr;
              if(lp < 0) {
                  lp = 0;
              }
              int len = endl-lp;
              if(len < 0) {
                  len = 0;
              }
              String line = new String(p.buffer.buffer, lp, len, "ISO-8859-1");
              String m1 = msg + " on line " + p.linect + ", col " + (p.cursor-lp) + ": `" + line + "'";
              throw runtime.newArgumentError(m1);
          } catch(java.io.UnsupportedEncodingException e) {
          }
              
      }