summaryrefslogtreecommitdiffstats
path: root/libs/rs/spec.l
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2011-04-26 14:50:00 -0700
committerJason Sams <rjsams@android.com>2011-04-26 14:50:40 -0700
commit65bdaf1c6d463d9441125d2c87a36015bfef2d95 (patch)
tree0a509884834b6eba859565b274a9cb603a0a07e6 /libs/rs/spec.l
parente7c4a7565c7f8c8fc1ec92dc0692577fcc474750 (diff)
downloadframeworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.zip
frameworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.tar.gz
frameworks_base-65bdaf1c6d463d9441125d2c87a36015bfef2d95.tar.bz2
Cleanup rs.spec file and code generator.
Change-Id: I369e36b222ff962fc6835bc550435c2940e2b5fd
Diffstat (limited to 'libs/rs/spec.l')
-rw-r--r--libs/rs/spec.l9
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/rs/spec.l b/libs/rs/spec.l
index c8af891..dcd4435 100644
--- a/libs/rs/spec.l
+++ b/libs/rs/spec.l
@@ -44,6 +44,7 @@ ID [a-zA-Z_][a-zA-Z0-9_]*
<comment>"*"+"/" BEGIN(INITIAL);
<*>" " //printf("found ' '\n");
+<*>"\t" //printf("found ' '\n");
<*>"\n" ++num_lines; //printf("found lf \n");
{ID} {
@@ -64,8 +65,12 @@ ID [a-zA-Z_][a-zA-Z0-9_]*
apis[apiCount].handcodeApi = 1;
}
-<api_entry2>"handcodePlay" {
- apis[apiCount].handcodePlay = 1;
+<api_entry2>"direct" {
+ apis[apiCount].direct = 1;
+ }
+
+<api_entry2>"nocontext" {
+ apis[apiCount].nocontext = 1;
}
<api_entry2>"ret" {