Fresh IDE . Check-in [552661a932]
Not logged in

This repository is a mirror!

The original is located on: https://fresh.flatassembler.net/fossil/repo/fresh
If you want to follow the project, please update your remote-url

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed bug in the MiniMag parser.
Timelines: family | ancestors | descendants | both | FreshLibDev
Files: files | file ages | folders
SHA1:552661a9326a6c90592a7547f377f241ef01805e
User & Date: johnfound 2018-11-11 19:27:32
Context
2018-12-03
19:17
Process properly the error code of sys_personality on startup. check-in: c29eda9db2 user: johnfound tags: FreshLibDev
2018-11-11
19:27
Fixed bug in the MiniMag parser. check-in: 552661a932 user: johnfound tags: FreshLibDev
2018-11-10
11:50
More detailed dump of segmentation faults. check-in: 6bf473646c user: johnfound tags: FreshLibDev
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to freshlib/data/markdown.asm.

1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
....
1388
1389
1390
1391
1392
1393
1394


1395
1396
1397
1398
1399
1400
1401

        and     [.state], not fstateBlockSource
        jmp     .skip2

;....................................................................

.close_paragraph:       ; the <p> and <li> tags are not closed actually. Only the <td> tags.
        test    [.state], fstatePara
        jz      .close_para_ok

        call    .close_inlines
        call    .close_all_links

        test    [.state], fstateTable
        jnz     .close_td

................................................................................
        lodsb
        cmp     al, " "
        jbe     .end_coct
        stosb
        jmp     .coct_loop

.end_coct:


        retn


;....................................................................
; horizontal rule element

.horiz_rule:







|
|







 







>
>







1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
....
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403

        and     [.state], not fstateBlockSource
        jmp     .skip2

;....................................................................

.close_paragraph:       ; the <p> and <li> tags are not closed actually. Only the <td> tags.
;        test    [.state], fstatePara
;        jz      .close_para_ok

        call    .close_inlines
        call    .close_all_links

        test    [.state], fstateTable
        jnz     .close_td

................................................................................
        lodsb
        cmp     al, " "
        jbe     .end_coct
        stosb
        jmp     .coct_loop

.end_coct:
        mov     al, '>'
        stosb
        retn


;....................................................................
; horizontal rule element

.horiz_rule: