mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Fix udbParseLib.awk so it doesn't generate warnings with gawk.
Tested this change with both gawk and nawk and it worked fine. If the extra escape character is present and gawk is used, you'll get warnings from gawk telling you it's ignoring the escape sequence and just treating it as the character to begin with.
This commit is contained in:
parent
e9a031ac7a
commit
6300831c65
1 changed files with 5 additions and 5 deletions
|
@ -342,11 +342,11 @@ function tokenize() {
|
|||
#
|
||||
# allow escaping of significant syntax characters
|
||||
#
|
||||
gsub("[\\\][{]","{")
|
||||
gsub("\\\:",":")
|
||||
gsub("\\\;",";")
|
||||
gsub("\\\=","=")
|
||||
gsub("[\\\][}]","}")
|
||||
gsub("[\\][{]","{")
|
||||
gsub("\\:",":")
|
||||
gsub("\\;",";")
|
||||
gsub("\\=","=")
|
||||
gsub("[\\][}]","}")
|
||||
|
||||
#
|
||||
# Having insured that interesting chars are surrounded by blanks
|
||||
|
|
Loading…
Reference in a new issue