X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/1656cfade4879af0cb003e3847e58264caa5781f..b17287deb56775a49030d738d8c8c0e9cd15f9fe:/src/lexer.l?ds=sidebyside diff --git a/src/lexer.l b/src/lexer.l index 68bafd0..ddbd951 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -201,6 +201,23 @@ add_gtk_doc_func(void) if(before_comment == C_CODE) add_to_cbuf(yytext); } +^\%(a|all)\{ { + BEGIN(C_CODE); + parenth_depth = 1; + class_after_c = FALSE; + code_type = ACODE; + clear_cbuf(); + ccode_line = line_no; + } +^\%(at|alltop)\{ { + BEGIN(C_CODE); + parenth_depth = 1; + class_after_c = FALSE; + code_type = ATCODE; + clear_cbuf(); + ccode_line = line_no; + } + ^\%(ht|headertop)\{ { BEGIN(C_CODE); parenth_depth = 1;