mescc: Support Nyacc-0.81.0.
* module/language/c99/compiler.mes (ast->info): Handle asm-expr from Nyacc 0.81.0.
This commit is contained in:
parent
7e6408534f
commit
66204d56c0
|
@ -2631,6 +2631,9 @@
|
|||
|
||||
((compd-stmt (block-item-list . ,statements)) ((ast-list->info info) statements))
|
||||
|
||||
((asm-expr ,gnuc (,null ,arg0 . string))
|
||||
(append-text info (wrap-as (asm->m1 arg0))))
|
||||
|
||||
((expr-stmt (fctn-call (p-expr (ident ,name)) (expr-list . ,expr-list)))
|
||||
(if (equal? name "asm") (let ((arg0 (cadr (cadar expr-list))))
|
||||
(append-text info (wrap-as (asm->m1 arg0))))
|
||||
|
|
Loading…
Reference in a new issue