zzyengineer / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Assign Objective-C *.m files to be parsed using C style #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Objective-C source code files in repo
2. View online with Source browser
3. *.h files highlight, while *.m files do not.

(Please include HTML, not just your source code)

What is the expected output?  What do you see instead?
- Objectve-C file should be highlighted.

What version are you using?  On what browser?
- Uh..latest installed in Google Code, Safari, OS X 10.5

Please provide any additional information below.
- I'm not 100% sure, but since Objective-C is an extension of C, I think you 
can get away with 
using the C style parser you already have.

Original issue reported on code.google.com by binary.god@gmail.com on 30 Nov 2008 at 1:47

GoogleCodeExporter commented 9 years ago
I thought .m was matlab or mathematica, but they seem to use .mat and .ma
respectively.  Will add to the list of extensions.

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 10:50

GoogleCodeExporter commented 9 years ago
Done at revision 57.

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 10:54

GoogleCodeExporter commented 9 years ago
.m is matlab and octave as well. The .mat files are compressed binary data 
dumps.

Original comment by towolf on 24 Feb 2011 at 5:48