Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(703)

Unified Diff: lily/lily-lexer.cc

Issue 219780044: Replace most uses of scm_{from,to}_locale_* with fixed encodings (Closed)
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/lily-guile.cc ('k') | lily/lookup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/lily-lexer.cc
diff --git a/lily/lily-lexer.cc b/lily/lily-lexer.cc
index 4ddd8643252585b2c5e032e20f1e1455a73a3c44..6c118979ae39e4dca10bbd01e9926985129ffd07 100644
--- a/lily/lily-lexer.cc
+++ b/lily/lily-lexer.cc
@@ -193,7 +193,7 @@ Lily_lexer::keyword_list () const
SCM *tail = &l;
for (vsize i = 0; i < keytable_->table_.size (); i++)
{
- *tail = scm_acons (scm_from_locale_string (keytable_->table_[i].name_),
+ *tail = scm_acons (scm_from_utf8_string (keytable_->table_[i].name_),
scm_from_int (keytable_->table_[i].tokcode_),
SCM_EOL);
« no previous file with comments | « lily/lily-guile.cc ('k') | lily/lookup.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b