diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-23 12:30:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-23 12:35:05 -0700 |
commit | 047296d811b062477715e3435e1b49ae63d54501 (patch) | |
tree | e271c65abd0adafd43f75ad766834e238c7eb89b /043space.cc | |
parent | a95c44f6981946d87e05d0929c0dd3a4894e953e (diff) | |
download | mu-047296d811b062477715e3435e1b49ae63d54501.tar.gz |
1434 - support all unicode spaces
Diffstat (limited to '043space.cc')
-rw-r--r-- | 043space.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/043space.cc b/043space.cc index 37683ab8..e1100f89 100644 --- a/043space.cc +++ b/043space.cc @@ -25,6 +25,21 @@ recipe main [ ] +mem: storing 34 in location 8 +//:: first disable name conversion for 'default-space' +:(scenario convert_names_passes_default_space) +recipe main [ + default-space:number, x:number <- copy 0:literal, 1:literal +] ++name: assign x 1 +-name: assign default-space 1 + +:(before "End Disqualified Reagents") +if (x.name == "default-space") + x.initialized = true; +:(before "End is_special_name Cases") +if (s == "default-space") return true; + +//:: now implement space support :(before "End call Fields") long long int default_space; :(replace "call(recipe_number r) :running_recipe(r)") |