Skip to main content
5 events
when toggle format what by license comment
Mar 1, 2011 at 18:57 comment added Arnaud Le Blanc A grep -v ^# whould fix that. I guess this is enough for this question :-)
Feb 25, 2011 at 9:17 comment added anonymous coward The C preprocessor adds extra garbage to the output, so your example wouldn't work as expected
Feb 21, 2011 at 11:42 comment added Arnaud Le Blanc I think the preprocessor only lexes the input without trying to make sense of it. An <<<HEREDOC is nothing more than 3 lower-than or left-shift and an identifier :-) This will do macro-substitution in heredoc strings, however.
Feb 21, 2011 at 9:25 comment added Joey Won't that break with PHP features that don't exist in C? Such as heredocs. Afair the C PP was pretty tightly tied to C's grammar.
Feb 20, 2011 at 12:27 history answered Arnaud Le Blanc CC BY-SA 2.5