Changeset 7180 for trunk/tools


Ignore:
Timestamp:
Oct 24, 2001, 6:00:28 AM (24 years ago)
Author:
bird
Message:

Corrected another limit bug in goto_nearest. Added a few more things to remove from the return type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/vslick/odin32.e

    r7161 r7180  
    1 /* $Id: odin32.e,v 1.10 2001-10-23 02:30:54 bird Exp $
     1/* $Id: odin32.e,v 1.11 2001-10-24 04:00:28 bird Exp $
    22 *
    33 * Visual SlickEdit Documentation Macros.
     
    358358    if (file_eq(p_extension, 'asm'))
    359359    {
    360         _insert_text("; $Id: odin32.e,v 1.10 2001-10-23 02:30:54 bird Exp $\n");
     360        _insert_text("; $Id: odin32.e,v 1.11 2001-10-24 04:00:28 bird Exp $\n");
    361361        _insert_text("; \n");
    362362        _insert_text("; \n");
     
    371371    else
    372372    {
    373         _insert_text("/* $Id: odin32.e,v 1.10 2001-10-23 02:30:54 bird Exp $\n");
     373        _insert_text("/* $Id: odin32.e,v 1.11 2001-10-24 04:00:28 bird Exp $\n");
    374374        _insert_text(" * \n");
    375375        _insert_text(" * \n");
     
    775775int odin32_func_goto_nearest()
    776776{
     777    boolean fFix = false;               /* cursor at function fix. (last function) */
    777778    cur_line = p_line;
    778779    prev_line = -1;
     
    792793    }
    793794    else
     795    {
    794796        p_col++;                        /* fixes problem with single function files. */
     797        fFix = true;
     798    }
    795799
    796800    if (!prev_proc(1))
     
    809813    if (prev_line != -1 && (next_line == -1 || cur_line - prev_line <= next_line - cur_line))
    810814    {
     815        if (fFix)
     816            p_col++;
    811817        prev_proc(1);
    812818        return 0;
     
    11091115                sTypeRaw = stranslate(sTypeRaw, "", "_cdecl", "I");
    11101116                sTypeRaw = stranslate(sTypeRaw, "", "cdecl", "I");
     1117                sTypeRaw = stranslate(sTypeRaw, "", "__PASCAL", "I");
     1118                sTypeRaw = stranslate(sTypeRaw, "", "_PASCAL", "I");
    11111119                sTypeRaw = stranslate(sTypeRaw, "", "PASCAL", "I");
     1120                sTypeRaw = stranslate(sTypeRaw, "", "__Far32__", "I");
     1121                sTypeRaw = stranslate(sTypeRaw, "", "__Far32", "I");
     1122                sTypeRaw = stranslate(sTypeRaw, "", "Far32__", "I");
     1123                sTypeRaw = stranslate(sTypeRaw, "", "_Far32_", "I");
     1124                sTypeRaw = stranslate(sTypeRaw, "", "_Far32", "I");
     1125                sTypeRaw = stranslate(sTypeRaw, "", "Far32_", "I");
     1126                sTypeRaw = stranslate(sTypeRaw, "", "Far32", "I");
    11121127                sTypeRaw = stranslate(sTypeRaw, "", "__far", "I");
    11131128                sTypeRaw = stranslate(sTypeRaw, "", "_far", "I");
     
    11161131                sTypeRaw = stranslate(sTypeRaw, "", "_near", "I");
    11171132                sTypeRaw = stranslate(sTypeRaw, "", "near", "I");
     1133                sTypeRaw = stranslate(sTypeRaw, "", "__loadds__", "I");
     1134                sTypeRaw = stranslate(sTypeRaw, "", "__loadds", "I");
     1135                sTypeRaw = stranslate(sTypeRaw, "", "loadds__", "I");
     1136                sTypeRaw = stranslate(sTypeRaw, "", "_loadds_", "I");
     1137                sTypeRaw = stranslate(sTypeRaw, "", "_loadds", "I");
     1138                sTypeRaw = stranslate(sTypeRaw, "", "loadds_", "I");
     1139                sTypeRaw = stranslate(sTypeRaw, "", "loadds", "I");
     1140                sTypeRaw = stranslate(sTypeRaw, "", "__loades__", "I");
     1141                sTypeRaw = stranslate(sTypeRaw, "", "__loades", "I");
     1142                sTypeRaw = stranslate(sTypeRaw, "", "loades__", "I");
     1143                sTypeRaw = stranslate(sTypeRaw, "", "_loades_", "I");
     1144                sTypeRaw = stranslate(sTypeRaw, "", "_loades", "I");
     1145                sTypeRaw = stranslate(sTypeRaw, "", "loades_", "I");
     1146                sTypeRaw = stranslate(sTypeRaw, "", "loades", "I");
    11181147                sTypeRaw = stranslate(sTypeRaw, "", "WIN32API", "I");
    11191148                sTypeRaw = stranslate(sTypeRaw, "", "WINAPI", "I");
Note: See TracChangeset for help on using the changeset viewer.