[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please help with adding spaces between '#include' and '<...>'.
From: |
Oleksandr Gavenko |
Subject: |
Please help with adding spaces between '#include' and '<...>'. |
Date: |
Tue, 03 Jul 2012 15:58:50 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
I get sources with lines like:
#include<stdio.h>
#include"locals.h"
This look so unusual that I decide add new rule to indent default to get
sources look like:
#include <stdio.h>
#include "locals.h"
Seems that both cases are valid according to "6.10 Preprocessing directives" of
C99.
But search queries:
include
space
in indent(1) take no relevant result.
Is this possible with indent?
If no, think that I make feature request.
I can try implement such switch (if developers agree).
Currently I run 'sed'...
--
Best regards!
- Please help with adding spaces between '#include' and '<...>'.,
Oleksandr Gavenko <=