Ticket #78 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

C style comments /* */ do not work under YASM gas mode

Reported by: anonymous Assigned to:
Priority: P1 Milestone: 0.6.0
Component: Parser: GAS-compatible Version: 0.5.0
Severity: blocker Keywords:
Cc:

Description

Strangely enough, the most basic thing, C style comments, do not work under the YASM gas mode. I understand the GCC outputs assembly code that does not have comments, but when I am working with assembly language files, I need them. I was surprised to learn that C style /**/ comments generate the syntax error: "label or instruction expected at start of line". In the mean time, at least I can use the hash (#) as a comment, or I can run the code through 'cpp' to strip them, but I really think YASM should support these natively.

Attachments

Change History

09/27/06 00:02:28 changed by peter

  • status changed from new to closed.
  • resolution set to fixed.

(In [1633]) Fix #78: Handle C-style comments (/* */) in GAS parser.


Add/Change #78 (C style comments /* */ do not work under YASM gas mode)