Skip to content

Instantly share code, notes, and snippets.

@burke
Created October 29, 2013 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burke/7220361 to your computer and use it in GitHub Desktop.
Save burke/7220361 to your computer and use it in GitHub Desktop.
--- a/src/emitter.c 2013-10-29 14:37:22.000000000 -0400
+++ b/src/emitter.c 2013-10-28 10:59:54.000000000 -0400
@@ -2163,3 +2122,3 @@
default:
- if (value <= 0xFF) {
+ if (value < 0x7F) {
if (!PUT(emitter, 'x')) return 0;
@@ -2167,2 +2126,8 @@
}
+ else if (value <= 0xFF) {
+ if (!PUT(emitter, 'u')) return 0;
+ if (!PUT(emitter, '0')) return 0;
+ if (!PUT(emitter, '0')) return 0;
+ width = 2;
+ }
else if (value <= 0xFFFF) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment