Changeset 8243


Ignore:
Timestamp:
Jan 23, 2008, 6:13:18 AM (12 years ago)
Author:
gb
Message:

Don't try to generate source line stabs; just use
# line "file" 1
convention, and don't include a newline in the expansion.
(See how well this works on other platforms)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/m4macros.m4

    r7828 r8243  
    3232undefine([POWEROPENABI])
    3333undefine([rTOC])
     34
    3435
    3536ifdef([DARWIN],[define([SYSstabs],[BSDstabs])
     
    108109
    109110
     111dnl define([emit_source_line_stab],[
     112dnl     ifelse(eval(SYSstabs),
     113dnl             eval(BSDstabs),
     114dnl           [_emit_BSD_source_line_stab($1)],
     115dnl              eval(SYSstabs),
     116dnl              eval(ELFstabs),
     117dnl              [_emit_ELF_source_line_stab($1)],
     118dnl              [_emit_COFF_source_line_stab($1)])])
     119
    110120define([emit_source_line_stab],[
    111         ifelse(eval(SYSstabs),
    112                eval(BSDstabs),
    113               [_emit_BSD_source_line_stab($1)],
    114               eval(SYSstabs),
    115               eval(ELFstabs),
    116               [_emit_ELF_source_line_stab($1)],
    117               [_emit_COFF_source_line_stab($1)])])
     121# __line__ "__file__" 1])
    118122
    119123
     
    279283
    280284define([__],[emit_source_line_stab(__line__)
    281 # __line__
    282285        $@
    283286        ])
Note: See TracChangeset for help on using the changeset viewer.