aboutsummaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-07-14 12:54:36 +0000
committerbloodstalker <thabogre@gmail.com>2018-07-14 12:54:36 +0000
commit23a01d86ec3b8e93f82e49f16830a2f32b9d424b (patch)
treeb09c62b8e6225de641380280d4116ef2a1ccc6e5 /text.py
parentupdate (diff)
downloadfaultreiber-23a01d86ec3b8e93f82e49f16830a2f32b9d424b.tar.gz
faultreiber-23a01d86ec3b8e93f82e49f16830a2f32b9d424b.zip
update
Diffstat (limited to 'text.py')
-rw-r--r--text.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/text.py b/text.py
index d3ca5fc..7ea8a73 100644
--- a/text.py
+++ b/text.py
@@ -27,3 +27,4 @@ class text():
c_read_8 = "read(_fd, &XXX, sizeof(uint64_t));\n"
c_read_gen = "read(_fd, &XXX, sizeof(YYY));\n"
c_assign_struct = "XXX.YYY = ZZZ;\n"
+ simple_loop = "for (int i = 0; i < XXX; ++i) {\nYYY}\n"