Move CodeBlocks class inside new Section1Or2 class (formerly SectionCodeBlocks)
authorNick Downing <downing.nick@gmail.com>
Mon, 2 Jul 2018 07:50:50 +0000 (17:50 +1000)
committerNick Downing <downing.nick@gmail.com>
Mon, 2 Jul 2018 07:50:50 +0000 (17:50 +1000)
src/scan.c
src/scan.l

index b2b0d43..baf44a6 100644 (file)
@@ -7774,14 +7774,14 @@ extern const char *escaped_qstart, *escaped_qend;
     yy_push_state(CODEBLOCK); \
     if ((indented_code = x)) ACTION_ECHO; \
  flush(); \
- piece_append("<PLex_CodeBlock>"); \
+ piece_append("<PLex_Section1Or2_CodeBlock>"); \
 } while(0)
 
 #define END_CODEBLOCK do { \
     yy_pop_state();\
     add_action(M4QEND); \
     if (!indented_code) line_directive_out(NULL, 0);\
- piece_append("</PLex_CodeBlock>"); \
+ piece_append("</PLex_Section1Or2_CodeBlock>"); \
 } while (0)
 
 /* Nick */
index 1975f3d..e9b7311 100644 (file)
@@ -117,14 +117,14 @@ extern const char *escaped_qstart, *escaped_qend;
     yy_push_state(CODEBLOCK); \
     if ((indented_code = x)) ACTION_ECHO; \
  flush(); \
- piece_append("<PLex_CodeBlock>"); \
+ piece_append("<PLex_Section1Or2_CodeBlock>"); \
 } while(0)
 
 #define END_CODEBLOCK do { \
     yy_pop_state();\
     add_action(M4QEND); \
     if (!indented_code) line_directive_out(NULL, 0);\
- piece_append("</PLex_CodeBlock>"); \
+ piece_append("</PLex_Section1Or2_CodeBlock>"); \
 } while (0)
 
 /* Nick */