Fix C string literals
This commit is contained in:
parent
bd8297e465
commit
dbec4df54c
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ tokenize_file()
|
|||
|
||||
git cat-file blob $ref 2>/dev/null |
|
||||
tr '\n' '\1' |
|
||||
perl -pe 's%((/\*.*?\*/|//.*?\001|"(\\.|.)*?"|# *include *<.*?>|\W)+)(\w+)?%\1\n\4\n%g' |
|
||||
perl -pe 's%((/\*.*?\*/|//.*?\001|[^'"'"']"(\\.|.)*?"|# *include *<.*?>|\W)+)(\w+)?%\1\n\4\n%g' |
|
||||
head -n -1
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue