summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--lib/sitecing_parser.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sitecing_parser.ll b/lib/sitecing_parser.ll
index 9514ce4..4fd6709 100644
--- a/lib/sitecing_parser.ll
+++ b/lib/sitecing_parser.ll
@@ -423,49 +423,49 @@ NOIDCHAR [^A-Za-z0-9_]
423 member_variables.push_back(member_variable(m._type,m._name,m.output)); 423 member_variables.push_back(member_variable(m._type,m._name,m.output));
424 if(!m.output.empty()) 424 if(!m.output.empty())
425 have_initializers=true; 425 have_initializers=true;
426 modi.pop_front(); 426 modi.pop_front();
427 BEGIN(INITIAL); 427 BEGIN(INITIAL);
428 } 428 }
429} 429}
430 <DECLLINE>\n{ 430 <DECLLINE>\n{
431 ECHO; 431 ECHO;
432 decl += M().output; 432 decl += M().output;
433 modi.pop_front(); 433 modi.pop_front();
434 BEGIN(INITIAL); 434 BEGIN(INITIAL);
435} 435}
436 <IMPLLINE>\n{ 436 <IMPLLINE>\n{
437 ECHO; 437 ECHO;
438 impl += M().output; 438 impl += M().output;
439 modi.pop_front(); 439 modi.pop_front();
440 BEGIN(INITIAL); 440 BEGIN(INITIAL);
441} 441}
442 <CLASSLINE>\n{ 442 <CLASSLINE>\n{
443 class_name = M().output; 443 class_name = M().output;
444 modi.pop_front(); 444 modi.pop_front();
445 BEGIN(INITIAL); 445 BEGIN(INITIAL);
446} 446}
447<CLASSLINE,DECLLINE,IMPLLINE,VARLINE,VARINIT,IMPORTLINE,IMPORTCOMPONENT,CODEMETHODLINE,CODEMETHODARGS,INLINE,METHODLINE,METHODARGS,DECLBLOCK,IMPLBLOCK,CONSTRUCTOR,DESTRUCTOR,CODEMETHODBLOCK,CODELINE,CODEBLOCK,PRAGMALINE>{ 447<CLASSLINE,DECLLINE,IMPLLINE,VARLINE,VARINIT,IMPORTLINE,IMPORTCOMPONENT,CODEMETHODLINE,CODEMETHODARGS,INLINE,METHODLINE,METHODARGS,DECLBLOCK,IMPLBLOCK,CONSTRUCTOR,DESTRUCTOR,CODEMETHODBLOCK,CODELINE,CODEBLOCK,PRAGMALINE,DERIVELINE,DERIVECOMPONENT>{
448 "/*"{ 448 "/*"{
449 yy_push_state(SLASHSTAR_COMMENT); 449 yy_push_state(SLASHSTAR_COMMENT);
450 if(!M().devour_comments()) { 450 if(!M().devour_comments()) {
451 ECHO; 451 ECHO;
452 } 452 }
453 } 453 }
454 "//"{ 454 "//"{
455 yy_push_state(SLASHSLASH_COMMENT); 455 yy_push_state(SLASHSLASH_COMMENT);
456 if(!M().devour_comments()) { 456 if(!M().devour_comments()) {
457 ECHO; 457 ECHO;
458 } 458 }
459 } 459 }
460 \" { 460 \" {
461 yy_push_state(STRING); 461 yy_push_state(STRING);
462 ECHO; 462 ECHO;
463 } 463 }
464 \'\\.\'{ 464 \'\\.\'{
465 ECHO; 465 ECHO;
466 } 466 }
467} 467}
468 468
469<INITIAL,METHODBLOCK,OUTPUTBLOCK>{ 469<INITIAL,METHODBLOCK,OUTPUTBLOCK>{
470 \"soft_anchor(); M().modify(modus_operandi::modus_text); LexerOutput("\\\"",2); 470 \"soft_anchor(); M().modify(modus_operandi::modus_text); LexerOutput("\\\"",2);
471 \nsoft_anchor(); M().modify(modus_operandi::modus_text); LexerOutput("\\n",2); 471 \nsoft_anchor(); M().modify(modus_operandi::modus_text); LexerOutput("\\n",2);