mirror of
				https://github.com/flynx/pWiki.git
				synced 2025-11-03 20:40:10 +00:00 
			
		
		
		
	minor fix + notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									e9e6bad3bd
								
							
						
					
					
						commit
						412786c8dc
					
				@ -490,6 +490,7 @@ object.Constructor('BasePage', {
 | 
				
			|||||||
//---------------------------------------------------------------------
 | 
					//---------------------------------------------------------------------
 | 
				
			||||||
// Parser...
 | 
					// Parser...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
// needs:
 | 
					// needs:
 | 
				
			||||||
// 	STOP -- '\\>' or ')'
 | 
					// 	STOP -- '\\>' or ')'
 | 
				
			||||||
// 	PREFIX -- 'inline' or 'elem'
 | 
					// 	PREFIX -- 'inline' or 'elem'
 | 
				
			||||||
@ -537,6 +538,7 @@ function(prefix='elem', stop='', regexp='smig'){
 | 
				
			|||||||
		: pattern }
 | 
							: pattern }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//
 | 
				
			||||||
// needs:
 | 
					// needs:
 | 
				
			||||||
// 	MACROS
 | 
					// 	MACROS
 | 
				
			||||||
// 	INLINE_ARGS -- MACRO_ARGS.replace(/STOP/, ')') 
 | 
					// 	INLINE_ARGS -- MACRO_ARGS.replace(/STOP/, ')') 
 | 
				
			||||||
@ -576,14 +578,16 @@ var countMacroPatternGroups =
 | 
				
			|||||||
module.countMacroPatternGroups =
 | 
					module.countMacroPatternGroups =
 | 
				
			||||||
function(){
 | 
					function(){
 | 
				
			||||||
	// NOTE: the -2 here is to compensate for the leading and trailing ""'s...
 | 
						// NOTE: the -2 here is to compensate for the leading and trailing ""'s...
 | 
				
			||||||
	return '<MACROS>'.split(module.buildMacroPattern()).length - 2) }
 | 
						return '<MACROS>'.split(module.buildMacroPattern()).length - 2 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 | 
					// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// XXX should we warn about stuff like <macro src=/moo/> -- currently 
 | 
				
			||||||
 | 
					// 		this will simply be ignored, i.e. passed trough the parser 
 | 
				
			||||||
 | 
					// 		without change...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// XXX BUG? '<slot name=x text="moo <now/> foo">' is parsed semi-wrong...
 | 
					 | 
				
			||||||
var parser =
 | 
					var parser =
 | 
				
			||||||
module.parser = {
 | 
					module.parser = {
 | 
				
			||||||
	// patterns...
 | 
						// patterns...
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user