diff options
author | Joe Wilm <joe@jwilm.com> | 2016-09-13 09:09:33 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-09-13 09:09:33 -0700 |
commit | 18ced2005087045bf5f83aa070f654eeb2ad955f (patch) | |
tree | ff10ca8abe17699b5c616c8af582833bafe28610 /src/lib.rs | |
parent | fd3e43699f48c2c6a4912714e88372a19cc1f928 (diff) | |
download | r-alacritty-vte-18ced2005087045bf5f83aa070f654eeb2ad955f.tar.gz r-alacritty-vte-18ced2005087045bf5f83aa070f654eeb2ad955f.tar.bz2 r-alacritty-vte-18ced2005087045bf5f83aa070f654eeb2ad955f.zip |
Finish implementing codegen for state table
When modifying table.rs.in, `cargo run` must be run in the `codegen`
crate. The result of expansion is included in the source tree so that
consumers don't need to pull in syntex just to compile.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ impl State { #[inline(always)] pub fn exit_action(&self) -> Action { unsafe { - ::table::EXIT_ACTIONS.get_unchecked(*self as usize) + *::table::EXIT_ACTIONS.get_unchecked(*self as usize) } } @@ -18,7 +18,7 @@ impl State { #[inline(always)] pub fn entry_action(&self) -> Action { unsafe { - ::table::ENTRY_ACTIONS.get_unchecked(*self as usize) + *::table::ENTRY_ACTIONS.get_unchecked(*self as usize) } } } |