If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

LXR support for typedef, enum, struct improvement

RESOLVED FIXED

Status

Webtools
MXR
--
enhancement
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Seved Torstendahl, Assigned: Seved Torstendahl)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Assignee)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: 

enum values are not defined as searchable identifiers. 
typedef enum and functions returning structs are not indexed OK

This patch was implemented five years ago and I do not remember all details. It is relative to the current genxref (1.7). 

(Seems that I can't add the patch now, will try after submitting this)

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
(Assignee)

Comment 1

9 years ago
Created attachment 328112 [details] [diff] [review]
patch to improve enum, typedef and struct
(Assignee)

Comment 2

9 years ago
Created attachment 328114 [details] [diff] [review]
patch to use 'find' insead of relying on toplevel /include

this patch is not related to the subject but has been a convenient improvement at our site.
(Assignee)

Comment 3

9 years ago
Created attachment 328116 [details]
example file

Updated

9 years ago
Attachment #328116 - Attachment mime type: application/octet-stream → text/plain

Comment 4

9 years ago
http://hg.mozilla.org/webtools/mxr/index.cgi/rev/5ac071b03e17

seems to work. http://mxr-test.landfill.bugzilla.org/ feel free to test any live tree (not all trees are live). The only tree I tested was tamarin-central.

Thanks :)
Assignee: bear → seved

Comment 5

9 years ago
i think you'll find that attachment 328114 [details] [diff] [review] is already handled by mxr. but if it isn't, please file a new bug :)
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.