Skip to content

Commit 6bfffe9

Browse files
committed
see if this could avoid the character encoding warning in R CMD check (amend 51d17a6)
1 parent 4940521 commit 6bfffe9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/parser.R

+1-2
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,12 @@ comment_chars = list(
222222
`* ;` = c('sas'),
223223
`--` = c('haskell', 'lua', 'mysql', 'psql', 'sql'),
224224
`!` = c('fortran', 'fortran95'),
225-
'\u235D' = c('apl'),
226225
`*` = c('stata')
227226
)
228227
# reshape it using the language name as the index, i.e., from list(char = lang)
229228
# to list(lang = char)
230229
comment_chars = local({
231-
res = list()
230+
res = list(apl = '\u235D')
232231
for (i in names(comment_chars)) {
233232
chars = comment_chars[[i]]
234233
res = c(res, setNames(rep(list(strsplit(i, ' ')[[1]]), length(chars)), chars))

0 commit comments

Comments
 (0)